Lanternfall: a deep-sea dive in one 43.7 KB HTML file
Lanternfall is a submersible descent through three ocean zones, past 12 glowing species, down to a seafloor at 3,800 m. It is one 43,703-byte HTML file, and Claude Code built it with Claude Fable 5.2 from one prompt, with no follow-ups, in a 17 min 45 s session. The prompt and the file are free to download. Get the files
The one-shot file in Chrome on a MacBook Air at 1440×900, on WebGPU. The scroll is sped up so all three zones and all 12 species fit in 42 seconds; the autopilot dive takes about 115 seconds.
- 43,703bytes, one file
- 12species
- 3ocean zones
- 1prompt, 0 follow-ups
- 17:45min:s session
- 0external URLs
What’s in it
- Three zones: Sunlit Shallows (0–200 m), Twilight Drift (200–1,000 m) and Midnight Abyss (1,000–3,800 m), which ends on the seafloor.
- Twelve species, in the order you meet them: sea sparkle, comb jelly, crystal jelly, firefly squid, lanternfish, hatchetfish, siphonophore, crown jelly, vampire squid, dragonfish, anglerfish and sea pen. Each one is logged when it comes within range of the camera.
- Every creature is generated in code. The meshes are built at load from parametric shapes in JavaScript. There are no model, image or texture files, no CDN and no web fonts: all the CSS, JavaScript and shaders are inside the one file.
- Raw WebGPU, with a WebGL2 fallback. Add
?glto the address to force the fallback; it shows the same scene. - A HUD with depth, pressure, water temperature, sunlight, the zone, a species log (n / 12), the renderer and live fps.
- Controls: scroll to descend,
↓/↑to step, andSpace,Aor the Autopilot button for an automatic dive.
How it was made
- On 16 November 2026 I opened Claude Code 2.1.325 with Claude Fable 5.2 (
claude-fable-5-2) in an empty folder on a MacBook Air. - I pasted the prompt in PROMPT.txt and let it run. It asks for a single HTML file under 200 KB, raw WebGPU with a WebGL2 fallback, three zones and at least ten species. The hard cap was 45 minutes, and any follow-up prompt would have counted as a fail.
- Claude wrote
index.htmlin a 17 min 45 s session. I didn’t send a single follow-up. - Then it was checked in a real, visible Chrome window on the same Mac: on WebGPU, on the forced WebGL2 fallback, and in a 390 px phone-sized window. On a continuous descent it logged 12 of 12 species, with no JavaScript errors on WebGPU.
Your result will not match mine exactly. The same prompt can give a different scene on another run.
What didn’t work
Verdict: PASS with limitations.
- In a real Chrome window it held a steady 30 fps on both renderers, measured on battery with Low Power Mode on. That meets the 30 fps target, but it is well below the 60 fps Claude reported from its own headless check.
- In the 390 px phone-sized window it mostly ran at 30 fps, but it stalled once for about a second. The phone layout is cramped: the Autopilot button overlaps the zone title, the species log crowds the heading, and the LANTERNFALL wordmark is cut off on the right.
- Jumping to a depth with
?s=only logs the species near that depth. You need a continuous descent to fill the log. - On a fast scroll, the “New light source” card can lag one species behind the log.
- The automatic fallback for a browser without WebGPU wasn’t tested; only the forced
?glroute was. It hasn’t been tested in Safari, in Firefox or on a real phone.
The files
- lanternfall-index.zip ↓16.5 KB
- PROMPT.txt ↓1.7 KB
The zip holds the index.html exactly as Claude wrote it. To open it, unzip it, run python3 -m http.server --bind 127.0.0.1 5173 in that folder, and open http://127.0.0.1:5173/index.html in Chrome. Free, no sign-up.
Inspired by Batyskaf, the deep-sea dive by @nikodemszymansk. It was a size-and-feel reference only: the prompt tells Claude not to open or copy it, and the prompt and the code here are our own. Built by Claude Fable 5.2 in Claude Code. I run AI experiments and write them down: what worked, and what didn’t.