
Glazed Galaxy
3D object3DSeamless loop16 seconds
Paper lanterns released from beyond a dark shore rise through a starry sky, their glow trembling in a still lake. Loops perfectly.
In Space & cosmos, Toys, games & parties
Next: Glazed GalaxySurprise me
Your current settings go with it. Combine several clips and hand them over together from your sequence.
Presets
How many lanterns are in flight at once.
How far the lanterns drift sideways as they rise.
How much each lantern sways and tilts.
The size of the moon; 0 takes it away.
How much the lake ripples and reflects.
The preview runs the same code your AI receives. These settings travel with the hand-off.
A festival night in the manner of Yi Peng and Loi Krathong: dozens of paper lanterns, each with its bamboo ribs and the flame at its open mouth, rise one after another from behind a dark shore, sway, drift on the wind and burn out high in the sky; far ones are small and dim, near ones large and bright. Above them stars twinkle and a low moon hangs; below, a still lake holds the lanterns' reflections as trembling streaks, with the lights of a far village along the shore. Choose the mood (warm gold, festival colours, rose or silver), how many lanterns fill the sky, the wind and sway, their glow, the moon, the stars and how much the lake ripples.
src/sky-lanterns.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/sky-lanterns.jscreateSkyLanterns({ palette?, count?, wind?, sway?, glow?, moon?, stars?, water?, seed? }) => { scene, camera, plan, setSize(width, height), update(time, loopSeconds), dispose() }createBloomPass(renderer, { width, height, glow?, exposure?, grain? }) => { render(scene, camera, output?), dispose() }planLanterns({ count?, seed? }) => lantern[]lanternAt(lantern, loopPhase, aspect?, wind?, sway?) => { x, y, hs, alive, tilt, flicker }PALETTES: { warm, festival, rose, silver }three@0.185.1 (source) — Renderer, the sky, lantern and lake shaders and the bloom targets.apw-runtime@1.0.0 (demo) — Demo harness.Coordinates: The frame is -1 … 1 in height (x scaled by the aspect ratio); the shoreline is at y = -0.34, the lake below it; lanterns rise from just under the shore to between half the sky and above the top, depending on their depth.
Lighting: Self-lit: every lantern is a glowing paper body with a flame and a halo; the bloom adds the glare; the lake reflects the sky and the lanterns; the moon casts a path on the water.
Timing: update(time, loopSeconds) sets the loop phase; frames render in any order.
npm install
npm run render -- sky-lanterns/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:817883301e9c4c76…
3D object3DSeamless loop16 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds