Andrej Karpathy had Claude Opus 5 turn a single paragraph of “Lord of the Rings” into a 3D browser scene, generating 5,500 lines of code in about two hours. The whole thing cost roughly ten dollars.
A rough draft of a world
The model placed and animated objects on its own but made mistakes because it could only check its own video output through screenshots. For Karpathy, who works at Anthropic, the test shows the potential for cheap, custom game worlds built on demand. He considers the result more of a vibe check than a hard benchmark.
One paragraph of “Lord of the Rings” in, 5,500 lines of code out. Andrej Karpathy had Claude Opus 5 turn Tolkien’s opening into a 3D browser scene. The model worked for about two hours, had a budget of one million tokens (roughly $10), and rendered everything in Three.js, a graphics library for 3D in the browser. Karpathy posted the source code online so others can play back and modify the scene.
Karpathy’s argument is that the well-known pelican test is close to maxed out. Simon Willison’s fun benchmark asks a model to draw an SVG of a pelican riding a bicycle, a prompt chosen to be absurd enough that the subject wouldn’t already exist in training data. The idea goes back further. In 2023, Microsoft had GPT-4 draw a unicorn in TikZ as part of its Sparks of AGI paper and pointed to it as evidence of spatial reasoning. GPT-4 at the time was trained on text data only, unlike the multimodal models that now power every major chatbot.
Karpathy calls the result rough but fun. Eleven Labs provided the audio, while the model placed and animated objects on its own. Nobody would build worlds like this by hand, Karpathy says, but with a model it’s nearly free. He sees potential for on-demand game worlds where users could be dropped in as side characters or protagonists.
One problem remains. The model can’t watch its own video output and had to rely on screenshots instead, which led to errors. Other users are having Opus 5 write entire browser games, from first-person shooters to Minecraft clones. None of this produces hard benchmarks. They’re vibe checks.
Karpathy co-founded OpenAI and served as head of AI at Tesla. He later ran the education startup Eureka Labs and has been working on pre-training research at Anthropic since May 2026.
What it means
Developers can now generate entire 3D environments and animations for under $10. The technology allows for on-demand creation of game worlds where players appear as specific characters. However, the current limitation of relying on screenshots rather than live video means the output often contains errors that a human would catch immediately.




