Reading up on Three.js
7 deep · digging since dec 10, 25
- Show HN: A walkable 3D art history museum built from Wikipedia
The article showcases a web-based, navigable 3D museum that visualizes art history data sourced from Wikipedia and lets users explore artistic movements and works in an interactive virtual environment.
- I tested 10 model/harness combinations on the same Three.js task
The author evaluated ten different model‑harness pairings on an identical Three.js coding task, measuring correctness and efficiency to identify the best performing combination.
- AI made it worth building games for our game nights
The author describes using AI coding agents to mod Nucleus Co-op, recreate Driift Mania, and build custom local multiplayer games for friends' game nights.
- Running LLMs in the Browser with Three.js
Three-LLM enables running GPT-2, SmolLM2, Qwen, and Phi language models in the browser by converting their inference graphs into Three.js TSL compute shaders on WebGPU.
- Bruno Simon – 3D Portfolio
Bruno Simon's interactive 3D portfolio lets visitors drive a car through a whimsical world, showcasing his Three.js skills while sparking debate on practicality versus creativity.
Takes
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.
@karpathy
I built an engine for Fable to create its own self-improving NPC town with @threejs and it's actually doing it lol. Literally shipping its own PRs to advance the story and lore. Crazy.
@gill_works