Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Reddit user says Claude created a 65-second WebGL film in one HTML file

AI summary

A Reddit user says Claude Fable 5.2 wrote the engine and directed a 65-second WebGL film, while Opus 5.5 subagents handled four set pieces. The poster describes the result as a single 186 KB HTML file of about 3,000 lines, with the scene constructed from mathematics when the page loads. They also say Claude rendered 3,900 1080p60 frames in headless Chromium on a Mac mini with M5 Pro before encoding them with ffmpeg.

In-depth insight

The account describes a concrete AI-assisted workflow in which a user gave plain-language instructions and feedback to Claude Code while different Claude models were assigned different parts of the project.

This is a 65 second film made from one HTML file. Claude wrote every line of it. What it is - One HTML file, 186 KB, about 3,000 lines. Raw WebGL. No libraries, no image files, no 3D engine. - Everything you see is built from maths at load time: the fish, the reef, the whale shark, the jellyfish, the glass. - No glasses needed. The depth is a trick of projection. The picture is drawn as if your screen were a window, and the picture frame gives your eye a fixed edge. When a fish crosses that frame, your brain puts it in front of the screen. How it was created - I gave Claude Code a challenge in plain words: make a web page that makes my screen look as deep as a fish tank. Then I kept saying "push it further". - Claude (Fable 5.2) wrote the engine and directed the film. It handed four set pieces to Opus subagents, each working to a written brief: the whale shark, the shattering glass, the coral reef and the glowing night. - I wrote no code. I watched a live preview in the browser and said what I liked. How it was rendered - The same page runs live in a browser. For the film, Claude rendered it frame by frame in headless Chromium on a Mac mini (M5 Pro) and piped the frames into ffmpeg. - Each frame is the average of 64 renders, each with a slightly different lens position, moment in time and light position. That gives real focus blur, motion blur and soft shadows. - 3,900 frames at 1080p60 took 22 minutes. Some numbers - 960 fish in the schools, 9 jellyfish, 335 shards of glass. - Two shadow-casting lights, a mirrored water surface, and water that removes red light with distance, as real water does. https://orchidstreet.github.io/fish-tank-screen/ submitted by /u/Greedy-Giraffe-4269 [link] [comments]

#Fish Tank Screen#Claude Fable 5.2#Claude Opus 5.5#Claude Code#WebGL#ffmpeg

Original · 1 min readRead the original
Group chat

No comments yet. Start the conversation.