
Coin Stack
3D object3DSeamless loop12 seconds
The cue strikes, a rack of numbered balls bursts across the green baize, then rolls back to the rack. Loops perfectly.
Next: Coin StackSurprise me
Your current settings go with it. Combine several clips and hand them over together from your sequence.
Presets
How hard the break is.
The preview runs the same code your AI receives. These settings travel with the hand-off.
A pool table at a slant under a lamp: the cue draws back and strikes, the white ball runs into the racked triangle and fifteen numbered balls burst across the cloth, bounce off the cushions and slow to a stop; then they roll back one by one into the rack and the cue ball returns to its spot, ready for the next break. Choose the cloth (green, blue, red or black), how hard the break is, the seed, the backdrop and whether the camera drifts.
src/billiard-break.js is the ingredient your AI reuses. demo.js is only the example scene around it, and uses chrome-material only for the demo.
src/billiard-break.jscreateBilliardTable({ cloth?, power?, seed? }) => { group, setProgress(progress), dispose() }CLOTHS: { green, blue, red, black }three@0.185.1 (source) — Renderer, geometry and physical materials.chrome-material@1.1.0 (demo) — Studio environment light, backdrop and contact shadow.apw-runtime@1.0.0 (demo) — Demo harness.Coordinates: The cloth lies on y = 0, 10 along x and 5 along z; the rack stands at x = 2.4 and the cue ball at x = -3.3.
Lighting: A key light with a shadow map and the studio environment on the glossy balls.
Timing: setProgress(progress) sets every ball; frames render in any order. The loop's 14 seconds are the cue (0 to 1.5 s), the break (1.9 s), the balls at rest (about 8.8 s), the return (10.6 to 12.8 s) and a pause.
npm install
npm run render -- billiard-break/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:c5d653355d38984c…
3D object3DSeamless loop12 seconds

3D object3DSeamless loop16 seconds

3D object3DSeamless loop16 seconds

3D object3DSeamless loop10 seconds

3D object3DSeamless loop16 seconds

3D object3DSeamless loop9.6 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds