Generate a Gaussian splat world in three.js with no external assets

A Redditor had Claude Sonnet 5.5 build a foldable, five-realm three.js world of about a million GPU-generated splats that ships as one 1.83 MB HTML file.

Done withClaude· Nov 16, 2026

What they did

The poster wanted to show that Sonnet, not only the larger Claude models, could produce the kind of browser tech demo others were posting. They wrote one long brief for a three.js and Spark demo codenamed Reality Origami. The rules: no models, textures, fonts or audio files, millions of Gaussian splats generated on the GPU each frame from a seed, a clock and the camera, five realms with their own terrain, sky, creatures and procedural music, and a world the player can fold into a planet or twist while each splat keeps its shape. It also asked for TypeScript, Vite, unit tests and a static build, and told the model to measure before claiming anything. They ran it on Sonnet 5.5 at extra-high effort with context capped at 300k, plus their own skill for iterating and testing several times.

How it went

The result is open source with a live demo. By the poster's list it draws about a million of 2.7 million splat slots, carries each splat through the fold math checked against a CPU reference, bit-compares a TypeScript copy of the terrain against the GPU at 4,000 points, and ships as a single 1.83 MB HTML file that runs from disk. One commenter could not load the demo, and the poster warns it can crash a browser on a weak GPU.

Worth knowing

The title says one-shotted, but the poster also used a skill that iterated and tested several times, so expect more than a single pass. The harness was not named. Reception was mixed: some called it nothing new, one preferred its art direction to similar Fable demos.

Try it

With Claude· 3 parts to fill in

Build a three.js tech demo of [a world or scene idea] that runs in the browser with no external assets: no models, textures, fonts or audio files. Generate everything at run time from a seed, using [Spark Gaussian splats or another GPU technique], and let the same seed always give the same world. Include [the key interaction, e.g. folding or bending the ground] and keep the camera on exactly the surface the shaders draw. Use TypeScript, Vite and unit tests, and produce a static build plus a single HTML file. Measure before you claim anything, write down what you did not check, and stop to show me the build once it runs and the tests pass.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related