One prompt, one 97KB HTML file: a procedural swimmable underwater world built by Claude
Any-Reputation8118 · reddit · 2026-11-14
A developer built Abyssal Garden, a swimmable browser underwater world (kelp forests, sunken ship, manta rays), as a single 97KB HTML file with no images, 3D models, audio files, or libraries — all procedural, MIT-licensed, and playable even on weak phones.
Notable methodology:
- The initial build came from one public prompt (prompt.txt in the repo) that set the scene, constraints (WebGPU, no engine, fully procedural), and a frame-time target
- The prompt includes self-verification: a subagent that only sees renders reports visual defects, plus GPU timing on a 60-second fly-through
- Claude wrote everything: WGSL shaders, GPU-sculpted seabed, 2 million kelp leaves, Web Audio sound; later prompts added a start menu, rock collision, and Low/Medium/High detail levels
More from coding & agent
- Dev with zero KiCad experience gets Codex to do PCB design in half a day — mckbrando · 2026-11-14
- AG-UI, the agent-user interaction protocol for frontend apps, hits 17k GitHub stars — ag-ui-protocol · 2026-11-14
- Tencent open-sources LoopForge to self-host coding-agent workflows with approval gates — Tencent · 2026-11-14
- Solo dev shows off 2.5D turn-based RPG built with Godot and Claude Opus — irbrandonl · 2026-11-14
- The Test Engineer prompt: have AI design full unit, integration, and E2E test strategies — hey_abusiddik · 2026-11-14
- 8 copy-paste prompts for using Claude like a senior engineer, not an intern — hey_abusiddik · 2026-11-14