Terrain Demo
Run python -m bruhanimate.demos.terrain_demo.
See Water, smoke, cloth, and procedural worlds for presets and the combined gallery.
Perspective flyover of seeded hills with shaded or contour rendering. Run with python -m bruhanimate.demos.terrain_demo.
-
bruhanimate.demos.terrain_demo.run(*, frames: int | None = None, fps: float = 30, preset: Literal['hills', 'mountains', 'contours'] = 'hills', on_resize: Literal['raise', 'resize'] = 'resize') → int[source]
Play a typed preset at 30 simulation updates/sec; resize retains state.