Claude Code generates a 61KB real-time WebGPU ocean from a single prompt
Developer Any-Reputation8118 showed off a single 61KB HTML file, generated in roughly 30 minutes from a single prompt using Claude Code (running Opus 5.5), that renders a real-time sunset ocean scene right in the browser. The demo was reshared by randalolson and many others, becoming yet another showcase of AI producing high-quality graphics code.
Confirmed
- Built with Claude Code (Opus 5.5) from a single prompt; per m2, the prompt essentially asked for "the most realistic water scene possible with WebGPU, with a floating camera"
- The output is a single-file HTML, about 61KB, running entirely locally in the browser
- The rendering includes FFT wave field simulation, whitecaps, a physical sky with clouds, and sun glare, with WASD+mouse flight camera controls
- Performance: the original post (m4) reported a GPU frame time of 11.81ms at 2560x1440, holding a steady 90fps with 859 nodes in the scene; later posts (m1/m3/m5) claim 260 FPS at 1440p on an RTX 5070 Ti — both figures coexist and may reflect different measurement conditions
- Multiple posts (m2) note generation took roughly 30–40 minutes
Why it matters
- A single prompt produced a WebGPU graphics program with real physics (FFT wave field) and a full rendering pipeline (sky, clouds, glare), remarkably compact and fast — demonstrating how frontier coding models deliver practical value in graphics, a traditionally high-barrier field
- The demo has been repeatedly reshared and discussed in communities like Reddit, becoming a representative example of "AI generating a complex visual application in one shot"
2026-10-16 ~ 2026-10-18 · 6 related posts
Primary sources
- Opus 5.5 writes a 61KB single-file ocean sim in ~30 minutes, hitting 90fps at 1440p — Any-Reputation8118 ·
- Claude Code builds a 61 KB WebGPU ocean simulation in one prompt, 30 minutes — Any-Reputation8118 ·
- One prompt, one HTML file: Claude builds a realistic WebGPU ocean in ~40 minutes — AshKing02 ·
- [source] Opus 5.5 writes a 61KB single-file ocean sim in ~30 minutes, hitting 90fps at 1440p — Any-Reputation8118 · 2026-10-16
- [source] Claude Code builds a 61 KB WebGPU ocean simulation in one prompt, 30 minutes — Any-Reputation8118 · 2026-10-17
- Claude Code writes a 61 KB browser ocean rendering 260 FPS on raw WebGPU from one prompt — randal_olson · 2026-10-17
- [source] One prompt, one HTML file: Claude builds a realistic WebGPU ocean in ~40 minutes — AshKing02 · 2026-10-18
2 near-duplicate retellings: randal_olson · tlakomy