
Disco Ball
Background3DSeamless loop12 seconds
A fireworks show over a harbour at night: shells climb, burst into peonies, willows and rings, light the smoke and mirror in the water. Loops perfectly.
In Light, glass & shine, Toys, games & parties
Next: Disco BallSurprise me
Your current settings go with it. Combine several clips and hand them over together from your sequence.
Presets
Changes where and in which order the shells burst, their colours and the shore.
The preview runs the same code your AI receives. These settings travel with the hand-off.
Rockets trailing sparks climb into a dark sky and burst into peonies, chrysanthemums, golden willows, rings, palms and crackling glitter. Every spark is white-hot when it is born, changes colour as it burns and cools to an ember, drawn as a trail that bends under gravity. The bursts flash the sky, light the smoke they leave and are mirrored in the water below a small harbour town, a city skyline or a ridge of pines. Choose the show (a mixed finale, peonies, willows or rings), the colours, how many shells, how wide they open, how long the trails are, how much smoke, the scenery and the mirror.
src/fireworks.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/fireworks.jscreateFireworks({ show?, palette?, shells?, size?, trails?, smoke?, scenery?, reflection?, seed?, aspect?, loopSeconds? }) => { scene, camera, plan, setSize(width, height), update(time, loopSeconds), dispose() }createBloomPass(renderer, { width, height, glow?, exposure?, grain? }) => { render(scene, camera, output?), dispose() }planShow({ show?, palette?, shells?, size?, trails?, seed?, aspect?, loopSeconds? }) => [{ kind, launch, rise, x, y, size, sparks, colours }]PALETTES: { festival, gold, ice, sunset }SHOWS: { finale, peonies, willows, rings }KINDS: ['peony', 'chrysanthemum', 'willow', 'ring', 'palm', 'crackle']three@0.185.1 (source) — Renderer, instanced ribbons and the bloom targets.apw-runtime@1.0.0 (demo) — Demo harness.Coordinates: Orthographic: x from -aspect to aspect, y from -1 to 1; the water line sits at y = -0.36 and bursts open between 0.04 and 0.52.
Lighting: Self-lit: each burst flashes and lights the sky and its smoke in its own colour; the bloom adds the glow.
Timing: update(time, loopSeconds) sets the time; each spark is a closed-form function of it, so frames render in any order.
npm install
npm run render -- fireworks/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:1e0a227f2e4b9334…
Background3DSeamless loop12 seconds

3D object3DSeamless loop16 seconds

3D object3DSeamless loop9.6 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop10 seconds

Background3DSeamless loop12 seconds