Video#
- pyenki.video.make_video(world: World, time_step: float, duration: float, factor: float = 1.0, **kwargs: Any) VideoClip#
Generate a video by simulating the world for a while.
- Parameters:
world – The world to be simulated
time_step – The time step of the simulation
duration – The duration of the simulation
factor – The real-time factor. If larger than one, it will speed up the video.
kwargs – The keywords arguments passed to
pyenki.viewer.render()
- Returns:
The video clip.