autumn ball pit black hole boids bubbles chladni plate cloth dog fireflies fireworks fish pond grass gravitational lensing hot air balloon lightning tree lorenz attractor magnet bar magnet horseshoe meteor shower murmuration neurons newtons cradle pendulum chain sheepdog slime mold snake snowflake solar system submarine sun attraction water box water ripple
move, click, tap
random
crsor  /  all sims  /  autumn

Autumn — falling leaves simulation

A central maple drops leaves across an autumn scene. Cursor pushes leaves around; click sends a gust through the canopy.

How it works

One large central maple. Recursive branches to depth 7 with side sprouts; canopy mass = ring of sugar-maple sprites at every branch tip.

Sky + ground + tree pre-rendered to an offscreen canvas at init/resize and blitted each frame; only falling leaves cost per frame. Leaves use per-color baked sprites (drawImage, not retraced paths).

Count = clamp(W·H/4000, 280, 560). Cursor pushes leaves; click gusts a burst.

Related simulations

Categories: Life & nature.