Build a WebGL fish tank depth illusion and render it as a film

A Redditor asked Claude Code to make their screen look as deep as a fish tank and got a 3,000-line raw WebGL page plus a 65-second 1080p60 film, without writing any code.

Done withClaude Code· Nov 14, 2026

What they did

The poster gave Claude Code a one-line brief: build a web page that makes the screen look as deep as a fish tank. From there they mostly replied "push it further" while watching a live preview in the browser, about six prompts in total. Claude, running Fable 5.2, wrote the engine and planned the film, and passed four set pieces (a whale shark, breaking glass, a coral reef and a night scene) to Opus subagents, each with a written brief. The depth comes from drawing the scene as if the screen were a window, with a frame edge that fish can swim past. For the video, Claude drove headless Chromium on a Mac mini frame by frame and fed the frames to ffmpeg.

How it went

The result is one 186 KB HTML file of roughly 3,000 lines with no libraries, images or 3D engine: 960 schooling fish simulated at 60 steps a second, 9 jellyfish, 335 glass shards, two shadow-casting lights and water that loses red with distance. On the live page fish scatter from the pointer and swarm to food you click in. Each film frame averages 64 renders for focus blur, motion blur and soft shadows, and 3,900 frames at 1080p60 took 22 minutes. The poster says they wrote no code.

Worth knowing

The schools and seaweed are simulated, but the koi, whale shark and jellyfish follow hand-placed scripted paths. One commenter found the constant camera sway annoying and would rather have a calm sandbox. The poster shared the live page and its code so others can point Claude at it and change it.

Try it

With Claude Code· 4 parts to fill in

Build a single self-contained HTML file using raw WebGL, with no libraries and no image files, that makes my screen look like a window into a deep [fish tank or other scene]. Generate every object from code at load time. Use an off-axis projection and a visible frame edge so objects appear to come out in front of the screen. Simulate [schools of fish or other moving elements] with simple forces and let them react to the pointer. Keep a live preview running and stop after each round to show me what changed before I say how to push it further. When I approve the look, render [number] seconds at [resolution and frame rate] frame by frame in headless Chromium and pipe the frames into ffmpeg.

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

Where they said it

Related