
A Desert in an Hourglass
Background3DSeamless loopPortrait8 seconds
Autumn leaves swaying, tipping and turning over as they fall, in maple, oak and birch shapes. 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.
Autumn leaves coming down the way real ones do: swaying side to side on a slow pendulum, tipping with each swing, turning over (a leaf seen edge-on thins to a line and shows its darker underside) and drifting a little on the wind. Each leaf is a smooth shape with a midrib and veins, in one of five maple, oak, birch, willow and rounded shapes, in reds, golds and browns (or spring greens). Every leaf falls a whole number of screen heights per loop and every sway and flip makes whole cycles, so the loop is exact. Choose the number of leaves, the colours, the wind, the sky colours and the seed.
src/falling-leaves.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/falling-leaves.jscreateFallingLeaves({ leaves?, palette?, wind?, seed? }) => { draw(ctx, info, width, height) }PALETTES: { autumn, spring, gold }apw-runtime@1.0.0 (demo) — Demo harness. The reusable source has no dependencies.Coordinates: Leaves are placed in fractions of the canvas; sizes scale with the smaller side; nearer leaves are larger and fall faster.
Lighting: A soft drop shadow lifts each leaf; the underside is darker.
Timing: Pure function of info.progress.
npm install
npm run render -- falling-leaves/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:e167c29a72699dcf…
Background3DSeamless loopPortrait8 seconds

Background3DSeamless loopPortrait8 seconds

Background3DSeamless loopPortrait12 seconds

3D object3DSeamless loop12 seconds

Effect2DSeamless loop10 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds