
Ball Clock
3D object3DSeamless loop16 seconds
A glass marble machine that sorts marbles by colour through three channels, then lifts them back to the top. Loops perfectly.
In Machines & clockwork, Toys, games & parties
Next: Ball ClockSurprise me
Your current settings go with it. Combine several clips and hand them over together from your sequence.
Presets
Marbles in circulation, in threes.
The preview runs the same code your AI receives. These settings travel with the hand-off.
A machine that sorts marbles by colour, forever. Mixed marbles drop from the top into a glass tube that splits into three channels; brass gates flick open to send each colour down its own lane; the lanes rejoin, a conveyor carries the marbles to the foot of a lift and the lift raises them back to the top. Choose the number of marbles, the colours (primary, candy, forest or mono), the trips round the circuit per loop, glass or brass tubes, the backdrop colour and whether the camera sways.
src/marble-sorter.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/marble-sorter.jscreateMarbleSorter({ marbles?, palette?, trips?, tubes? }) => { group, setProgress(progress), dispose() }PALETTES: { primary, candy, forest, mono }three@0.185.1 (source) — Renderer, geometry and shader materials.chrome-material@1.1.0 (demo) — Studio environment light, backdrop and contact shadow.apw-runtime@1.0.0 (demo) — Demo harness.Coordinates: The machine stands in the xy plane (x from −3.5 to 5.5, y from 0 to 6.7) in front of a board at z = −0.7; the camera looks at (2.7, 3.5).
Lighting: A warm key light with a shadow map and the studio environment.
Timing: setProgress(progress) places each marble along its lane's curve and sets the gates; frames render in any order.
npm install
npm run render -- marble-sorter/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:13e4de7339249b86…
3D object3DSeamless loop16 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop9.6 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop12 seconds

3D object3DSeamless loop16 seconds

3D object3DSeamless loop20 seconds