
Glazed Galaxy
3D object3DSeamless loop16 seconds
A cannon fires hundreds of tumbling paper confetti in the party colours: they fly, flutter and drift down. One-shot, seeded and exact.
Next: Glazed GalaxySurprise me
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.
A celebration: a cannon at the bottom of the frame fires hundreds of pieces of paper confetti. Each piece is a small rectangle, ribbon or disc with its own colour, speed and spin; it flies on an arc with air drag, tumbles in 3D (it thins to a line when edge-on and darkens on its underside) and flutters down. Choose the number of pieces, the colours (party, gold, pastel or mono), the launch (one cannon, two corner cannons or a shower from above), the power, the seed and the backdrop colour.
src/confetti-burst.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/confetti-burst.jscreateConfettiBurst({ pieces?, palette?, at?, mode?, power?, seed? }) => { draw(ctx, info, width, height), revealDuration }PALETTES: { party, gold, pastel, mono }apw-runtime@1.0.0 (demo) — Demo harness. The reusable source has no dependencies.Coordinates: Positions are fractions of the canvas; the cannon is at the bottom centre (or the corners), the shower starts above the top edge; sizes scale with the smaller side.
Lighting: None; undersides are drawn darker.
Timing: Pure function of time since the burst and a seeded number per piece; revealDuration says when the last piece has gone.
npm install
npm run render -- confetti-burst/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:bcd7c26c0267f6c4…
3D object3DSeamless loop16 seconds

Full example3DReal physics8 seconds

PhysicsAny rendererReal physics8 seconds

MotionAny rendererSeamless loop4 seconds

PhysicsAny rendererReal physics8 seconds

3D object3DSeamless loop16 seconds

3D object3DSeamless loop12 seconds

Background3DSeamless loop12 seconds