# Karpathy 用 Opus 5 生成《指环王》3D 渲染

- 来源：Andrej Karpathy (@karpathy)
- 发布时间：2026-08-02 11:00
- AIHOT 分数：70
- AIHOT 链接：https://aihot.virxact.com/items/cmsb7qy8407dgrohvafhxrodz
- 原文链接：https://x.com/karpathy/status/2083749667410727319

## AI 摘要

Andrej Karpathy 给 Opus 5 提供《指环王》第一段和 1M token 预算（约 $10），模型耗时约 2 小时写出 5500 行代码，程序化渲染出故事场景。他认为这展示了从“没人会做”到“几乎免费”的转变，并指出 LLM 在视频感知和游戏内审计能力上仍有明显短板。

## 正文

We're starting to leave the territory where you'd test an LLM by e.g. "create an svg of pelican on a bicycle". As one idea to generalize it， I was interested what Opus 5 would do if I gave it the first paragraph of the Lord of the Rings， a 1M token budget （~$10） and asked for three js render of it. Opus went off for ~2 hours and wrote 5500 lines of code that （procedurally） rendered the story. It's kind of janky but fun. But it's a bit mindboggling that the LLM has to place and orchestrate various polygon assets in （x，y，z） coordinates and write code that animates it all， and that it even does anything at all.

I also like this kind of examples because no one in their right mind would ever spend the time to write something this custom but LLMs have all the stamina and patience in the world， so it's an example where we go from "no one would ever do this" to "sure， why not， it's ~free". There might be a lot more. But I'm excited about creating hyper custom worlds that you can imagine dropping players into， e.g. here to participate in the LoTR story as a spectator NPC， or one of the characters， or etc. Something like an ephemeral GTA of X on demand.

Last thought is that the domain of worlds/games exposes a weakness in LLMs： they can't easily audit their work because they aren't able to efficiently and natively perceive videos or play games within them. Here， Opus 5 had to very slowly and painstakingly take screenshots at different points， and it messed up a few times and created a bunch of jank. An example of raw capability （multimodal， gameplay） that I think is still quite lacking.
