A colossal Soviet panel apartment block on eight mechanical legs, crossing a wet field in blue dusk fog. Everything you see is code: procedural geometry, procedural textures and shaders in three.js. No 3D assets, no image textures. A 45 s film is rendered from the same scene.
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
The film (1080p30, 45 s, with sound): see the latest release.
Built with Claude Fable 5.2 as the main agent and Fable 5.2 / Opus 5.5 subagents, iterating on stills and storyboards captured from headless Chrome against a handful of reference images (the references are not part of this repo). The scene is about 5.4 million triangles per frame and was rendered offline, frame by frame, on an integrated laptop GPU (Radeon 780M).
The only thing that is not code is the sound: music and sound effects are downloaded, freely licensed recordings, placed and mixed by a script. See audio/CREDITS.md.
npm install
npm start # http://127.0.0.1:5177/
/plays the 45 s film timeline in real time (Space = pause, ←/→ = seek)./?shot=ref2shows a single camera preset (ref1…ref6,facade,leg,foot,belly,f_hero,f_foot, …)./?freegives an orbit camera. Add&scale=0.5on slower GPUs — the scene is heavy.
Needs Chrome and ffmpeg (set CHROME_PATH if Chrome is not in the default Windows location).
npm run audio # soundtrack -> out/audio.wav
npm run render # 1350 frames -> out/frames (resumable)
npm run mux # -> out/walking_block_1080p30.mp4
Other tools: node tools/shot.mjs --shots f_hero --ts 13.4 --mb 4 --prefix x (stills),
npm run storyboard (contact sheet of the timeline).
src/main.js– scene bootstrap, lights, module loader, deterministic frame renderingsrc/post.js– ambient occlusion, height fog + sky, depth of field, bloom, grade, film grain, motion-blur accumulationsrc/look.js– colours, fog, lights and grade ·src/gait.js– stateless walk cycle ·src/shots.js– cameras and film timelinesrc/materials.js,src/textures.js– shared weathering shader (grime, drip streaks, moss, paint chips, rust, wetness)src/mods/building.js– the apartment block (interior-mapped windows, loggias, laundry, roof)src/mods/legs.js– the eight legs (IK rig, hydraulics, hoses, claws)src/mods/chassis.js– the mechanical belly ·src/mods/env.js– ground, vegetation, puddles, footprintssrc/mods/fx.js,src/mods/atmo.js– footfall debris and spray, fog banks, smoke, rain, birdssrc/mods/README.md– the module contract the agents worked fromtools/– capture, render, soundtrack and encode scripts
Everything is a pure function of time, so any frame can be rendered in any order.
Code: MIT (see LICENSE). Audio: third-party, under its own licences — music "The Long Dark" by Scott Buckley, released under CC-BY 4.0 (www.scottbuckley.com.au); sound effects from freesound.org under CC0. Details in audio/CREDITS.md.






