
Falling Leaves
Effect2DSeamless loop12 seconds
Snow falling in three depths: big soft flakes in front, tiny slow ones behind, drifting on the wind. Loops perfectly.
Your current settings go with it. Combine several clips and hand them over together from your sequence.
Presets
The preview runs the same code your AI receives. These settings travel with the hand-off.
Snow falling in three depths. Near flakes are big, soft and fast, middle ones medium, far ones tiny and slow, so the scene has depth; each drifts sideways on its own slow sine and the near flakes are slightly blurred as if out of focus. Every flake falls a whole number of screen heights per loop, so the loop is exact. It draws over whatever is on the canvas. Choose the number of flakes, the wind, the sky colours and the seed.
src/snowfall.js is the ingredient your AI reuses. demo.js is only the example scene around it, and uses the demo harness only for the demo.
src/snowfall.jscreateSnowfall({ flakes?, wind?, colour?, seed? }) => { draw(ctx, info, width, height) }apw-runtime@1.0.0 (demo) — Demo harness. The reusable source has no dependencies.Coordinates: Flakes are placed in fractions of the canvas; sizes scale with the smaller side.
Lighting: None; near flakes are soft radial gradients.
Timing: Pure function of info.progress.
npm install
npm run render -- snowfall/1.0.0 --out my-video.mp4Needs Node 18+, ffmpeg and Chrome/Chromium. Add --params my-settings.json (from Copy settings) for your own settings.sha256:00d166a92caa7f42…
Effect2DSeamless loop12 seconds

Background2DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds

Background3DSeamless loop12 seconds