
Voronoi Cells
Background3DSeamless loop10 seconds
Shafts of golden light pouring through a doorway into a dark, dusty hall, motes floating in the beam. Loops perfectly.
Next: Voronoi CellsSurprise me
Your current settings go with it. Combine several clips and hand them over together from your sequence.
Presets
Changes the foliage's shadows and where the dust floats.
The preview runs the same code your AI receives. These settings travel with the hand-off.
A dark stone hall with light pouring in through an opening at the far end into dust-filled air. The shafts are real volumetric light: the doorway's shape, the pillars' shadows and the door leaf standing in the hall all cut the beam exactly, the foliage outside dapples it and drifts, and the air glows brightest when you look straight into the light. Dust motes float in the beam and flash as they turn, the bright opening blooms, and the camera creeps slowly forward. Choose the opening (a door ajar, a four-pane window or three pointed cathedral arches), the colour of the light (golden hour, dawn rose, moonlight or white), how dusty the air is, and whether there are pillars and motes.
src/god-rays.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/god-rays.jscreateGodRays(renderer, { width, height, scene?, color?, haze?, columns?, motes?, intensity?, exposure?, glow?, seed? }) => { render(time, loopSeconds, output?), dispose() }SCENES: { door, window, cathedral }LIGHTS: { gold, dawn, moon, white }three@0.185.1 (source) — Renderer, the full-screen volume shader and the mote points.apw-runtime@1.0.0 (demo) — Demo harness.Coordinates: Metres: the hall is 8 wide, 7 high and 21 long; the opening is in the far wall, 12 m from the middle of the hall.
Lighting: Self-contained: exact visibility of the sun through the opening, pillars and door leaf; forward-scattering haze; a little room fill.
Timing: render(time, loopSeconds) is a pure function of time; frames render in any order.
npm install
npm run render -- god-rays/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:5e29f486efd6b18d…
Background3DSeamless loop10 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop8 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop12 seconds

Background3DSeamless loop10 seconds