Endless Cinematic Three.js Train Ride Built Entirely by Claude Sonnet, Open Sourced
prasenx · x · 2026-11-30
A developer routed to Claude Sonnet Next in Claude Code and asked for an endless cinematic train ride in three.js—no images, no 3D models, no audio files. Everything is generated in code, and the project (golden-line) is open source.
- Scene: European countryside from golden hour through sunset to dusk, with the train's lights coming on; train, land, trees, water, sky, weather, sound, and UI are all procedural.
- Runs as a single self-contained index.html straight from disk; requires WebGPU, tuned for an RTX 4060.
- Includes a director mode (C key: auto camera cuts, no interface, made for screen recording) and 5 manual cameras (drone chase, trackside, viaduct, window, etc.).
- Dev workflow: pnpm install / pnpm dev / pnpm build to rebuild the single file.
More from coding & agent
- Grok usage spiked from 50% to 100% overnight; 4 prompts with hard stops to stop agent loops — alex_verem · 2026-11-30
- Keep AI editors from rewriting your voice: strict CLAUDE.md instructions that work — soumitrashukla9 · 2026-11-30
- Dev digs into rex's tmux bindings decision and finds it makes sense — generativist · 2026-11-30
- Google bans dev's main account over Gemini third-party use; AI Studio lead vows fix — lxfater · 2026-11-30
- 'Cognitive debt' is real — the AI-era analog of tech debt — curious_vii · 2026-11-30
- Chinese researchers' paper "The End of Software Engineering" argues hand-writing code is a dying skill — udmrzn · 2026-11-30