A Cinematic Train That Runs Without a Single Asset
On the screen, a steam train runs through golden fields. Smoke billows, wheat sways, and the next station name scrolls by. But behind that scene there are no image files, no 3D models, and no recorded sound. Terrain is built from code, textures are born from floating-point arrays, and the whistle is synthesized from Web Audio nodes.
This post is for engineers who are deciding whether to hand interactive or creative work to a coding agent. And here is the conclusion up front: the bottleneck in agent output has moved from generation to verification. This case ships its answer inside a measurement harness the agent wrote for itself.
In plain terms
Imagine a one-person film crew that builds the set in a day, does its own lighting and sound, and runs its own quality control. The director (a human) handed over a one-page script. The rest of the set, lighting, sound, and QC was finished overnight by a single assistant director (the coding agent). In the morning, what was handed back was not just the finished piece. It was the finished piece, plus a score sheet.
How a world with zero assets runs
The project is called The Golden Line. It started when Prasenjit Nayak posted a tweet on November 29 that went viral. The tweet, in his own words: “can’t believe a claude sonnet model made this / got routed to sonnet next in claude code and asked it for an endless cinematic train ride in three.js / no images. no 3d models. all code.” It had passed 130,000 views by the time we checked, with an attached video of an endless steam train crossing the European countryside.
We checked that claim in code. We downloaded the MIT-licensed repository and ran a deterministic audit. It contains 134 files, of which the scene source is 108 JavaScript files and 25,969 non-empty lines. There are zero binary asset channels into the scene pipeline.
GLTFLoader, OBJLoader, TextureLoader, AudioLoader, fetch, XMLHttpRequest, and new Image never appear anywhere in src/. Terrain is built in 200-meter chunks by a web worker and streamed 2.5 kilometers ahead of the train. Textures are drawn by code: 8 DataTextures, 1 DataArrayTexture, 3 CanvasTextures, and 125 uses of floating-point arrays.
The repo does contain six WebP images in media/. But they are outputs of the ride, not inputs. Stills and a reel captured from rendered shots: window seat, bridge over the valley, tunnel exit, dusk. As the README puts it, the pictures in media/ are output of the ride, not input to it.
The human put in a one-page brief with hard constraints. What came back: 25,969 lines of code, zero scene assets, and a 6.8 ms median the agent measured itself.
The brief was short, the constraints were harsh
The interesting part is how little the human had to do. The repository carries a file called PROMPT.md: the session record, preserving the first message and the instructions added along the way. The constraints from the initial brief, verbatim:
- everything made in code: train, terrain, trees, water, sky, sound
- no image files / no 3d model files
- realism over cartoon
- it must look beautiful in the first second
- keep 60fps on an RTX 4060
- max 5 rounds
- no UI at all
“max 5 rounds” is the most important line in that document. The brief itself declares a budget for the critic loop. In fact, the instructions added during the build pile up sentences like “after this fix round, stop the critic loop” and “ignore my first message about skipping shots; follow the second one.” The README records that the brief asked for a critic loop against real photographs for up to five rounds, and that it was stopped after two, at the owner’s request.
Art direction was delegated to a single world skill called world-taste, which is public. The direction was “golden-hour rail,” with dials set at realism 9, density 8, and life 7. The human did not direct shot by shot. The taste coordinate system was handed to a first-class skill resource.
flowchart TB
A["Human brief<br/>zero assets · 60fps · max 5 rounds"] --> B["Claude Code session<br/>Claude Sonnet Next"]
B --> C["world-taste skill<br/>art-direction coordinates"]
C --> D["Code-only world<br/>terrain, textures, audio all procedural"]
D --> E["Agent-written self-QA<br/>critic loop · perf measurement · frame-by-frame video render"]
E --> F["Open-sourced<br/>MIT · README · measurement table"]
F --> G["Community PR within 24 hours<br/>Linux rendering fix"]
The age when agents write their own QA
What is genuinely new here is not the rendering. It is that the agent built the tools that verify its own output. The tools/ folder holds seven scripts.
- perf.mjs: a benchmark that runs headless Chromium for 150 seconds and measures frame intervals (
pnpm perf --seconds 150) - world-check.mjs: a 399-line world-integrity checker that catches broken terrain or warped rails
- render-video.mjs: 320 lines. A pipeline that renders frame by frame and assembles a video, instead of a screen recording
- shot.mjs, gpu.mjs, probe.mjs: scene stills, GPU info, performance probes
When the human asked for “a video too,” the agent built a frame-by-frame renderer from scratch and used it to produce a 1920×1080 60fps video file. The instruction “no screen recording” remains in PROMPT.md. The shot list reads like this: open on the most beautiful golden-hour wide shot, then the window seat, the bridge over the valley, trackside, the tunnel exit, and end at dusk with the train lights on. Including the trailer, the human designed the scope of a whole session at the level of a screenplay.
Measured: a 6.8 ms median, and one line the author left
The performance table in the README comes from 150 seconds of director mode in headless Chromium at 1920×1080 on an RTX 4060. A total of 21,985 frames were measured: median 6.8 ms, 95th percentile 9.0 ms, 99th percentile 11.9 ms, worst 48.8 ms. Seven frames exceeded 20 ms. GPU time was 4.9 ms at the median and 7.0 ms at the 95th percentile. The run peaked at 400 draw calls, 5.5 million triangles, and 18 cuts.
| Shot | Frames | Median (ms) | P95 (ms) | P99 (ms) | Worst (ms) |
|---|---|---|---|---|---|
| Drone chase | 5,484 | 7.6 | 9.6 | 10.3 | 16.7 |
| Trackside | 5,201 | 6.2 | 8.2 | 13.2 | 19.6 |
| Viaduct | 3,906 | 6.9 | 8.5 | 10.2 | 39.2 |
| Window seat | 4,937 | 6.0 | 8.1 | 13.3 | 21.2 |
| Tunnel exit | 2,457 | 7.0 | 8.6 | 10.2 | 48.8 |
| All | 21,985 | 6.8 | 9.0 | 11.9 | 48.8 |
Median frame time per shot. The overall median of 6.8 ms is less than half of the 16.7 ms budget that 60 fps allows.
The 99th percentile sits inside the 16.7 ms that 60 fps allows. A 6.8 ms median means less than half of the frame budget is used, and that headroom is itself quality. The README also notes that three frames took longer than 34 ms, and that none of the twelve worst fell on a camera cut. Jank at a cut is what makes it stop feeling like film, and the agent checked that specific point. Then, right after the table, comes a line the agent wrote about itself. The run went from golden hour to early sunset, so dusk is not covered by these numbers. It did not present an unmeasured interval as if it had been measured.
We also pulled the live demo in headless Chromium on macOS. After the loading screen cleared, the scene actually rendered, and the HUD was alive. 18:37 and GOLDEN HOUR in the top left, the next station Thorncombe 3.4 km ahead in the top right, 65 km/h in the bottom right. The pixel variance confirmed it was not a black screen, which means WebGPU runs on Apple silicon too.

24 hours after open-sourcing
The repository started with its first commit at 06:59 UTC on November 29 and added four more feature commits by 19:40 UTC that day: the loading screen, the README rewrite and license, and the driver’s cab camera. Then, at 08:19 UTC on November 30, a pull request landed from a contributor who had never touched the project (lomolomo2): “Render the film on Linux: Vulkan flags, adapter retry, GPU frame readback.”
Within 24 hours, the community had read the code, found what did not work on their machines, and filed a PR. The viral echo ran in the same direction. YouTube tutorials like “Claude Code Makes Cinematic TikTok Shorts” appeared, and fork repositories recreating the same concept followed.
What it means for ThakiCloud
Paxis treats the way agents work as first-class resources. This case shows all three of them on one screen.
First, a budgeted loop. “max 5 rounds” puts a cost cap on the critic loop. And “stopped after two, at the owner’s request” is proof that a human decided where the loop ends. That is the same structure as the policy gates and audit logs Paxis applies to agent execution. An agent left to improve itself without a budget and a stop point only burns cost.
Second, taste as a skill. world-taste is a coordinate system you can write down: this world is realism 9, density 8, life 7. Paxis selects skills by BM25 and runs them in an isolated sandbox for the same reason. Taste, rules, and grammar attached to a single session vanish when the session ends. Promoted to a resource, they become reusable, auditable, and versioned.
Third, verification artifacts. perf.mjs and world-check.mjs are evidence committed alongside the output. Just as every agent action in Paxis passes a policy gate and an audit log, creative output needs a record of how it was verified. When an agent leaves its measurement tools with the output, the next session can reuse them to catch regressions. Golden Line already received that next session: the Linux fix PR.
Limits and counterarguments
Read this case with guards.
First, one session, one machine, one brief. It is the result of a specific session on an RTX 4060 where a human handed over a one-page overview. It is not grounds for the generalization that coding agents now replace 3D artists.
Second, WebGPU support is still uneven. The fact that this project received a Linux rendering fix PR within 24 hours of shipping is itself the evidence. Behavior differs by browser, OS, and GPU, so you have to check what “cross-platform” actually guarantees here.
Third, “no assets” is a runtime claim. During design, the critic loop ran against seven CC-licensed reference photos from Wikimedia Commons used only as local visual targets. refs/ was neither committed nor shipped, but the record shows the build saw photographs while it was made.
Fourth, the performance table covers golden hour through early sunset. The interval the agent itself marked as unmeasured is genuinely unmeasured. Our macOS verification confirmed rendering and a live HUD, not frame times.
Fifth, the critic loop stopped at two of five rounds. The quality ceiling was set by a human at round two.
Bottom line
The question to ask when handing creative work to an agent has changed. It is no longer “can it make this?” It is “how will it prove that it works?” Golden Line’s answer was a performance harness it wrote itself, a world-integrity checker it wrote itself, and a line it wrote itself: this part is not measured.
Next time you write a brief for a coding agent, declare the verification budget along with it: round count, thresholds, measurement tools. Then, when you receive the output, check the verification record together with the artifact. As this case shows, the moment verification is attached as a record, an agent’s output stops being a demo and becomes something you can operate.
The demo is here, and the code is at StarKnightt/golden-line.
Sources
- @prasenx original tweet (2026-11-29, 131,701 views)
- StarKnightt/golden-line (MIT, README, PROMPT.md)
- StarKnightt/world-taste (art-direction skill)
- The Golden Line live demo
- YouTube: Claude Code Makes Cinematic TikTok Shorts (coverage of the same trend)