Navigation überspringen
This entire ocean is a 61 KB HTML file.
0:00 / 0:31

This entire ocean is a 61 KB HTML file.

Jurly

@jurlycat17.494 Follower

Auf X besuchen
3.719 LikesHerunterladenOriginalbeitrag

896.786 Aufrufe

This entire ocean is a 61 KB HTML file. Built with Claude Code + Opus 5.5 in about 30 minutes, according to its creator. It runs in the browser using WebGPU: FFT waves, whitecaps, sun glitter, a physically based sunset sky with clouds, and a free-flying camera. No game engine or rendering library. Claude rendered screenshots in headless Chrome, then had separate subagents critique them. The creator gave feedback along the way, mainly on the clouds. The 61 KB build is minified and self-contained. Download it, open it in Chrome with WebGPU support, and explore with WASD.

64 Kommentare

Kommentare aus dem Originalbeitrag auf X (Twitter)

  • Profilbild von Jurly

    @jurlycat

    Demo: Code:

    42 Likes

  • Profilbild von karnstack

    @karnstackdotcom

    Those FFT waves are Jerry Tessendorf's "Simulating Ocean Water" notes. The same trick made the CG sea in Titanic and Waterworld, and now it fits in a 61 KB page.

    13 Likes

  • Profilbild von Jurly

    @jurlycat

    wild that a Titanic-era trick now fits in 61 KB lol

    7 Likes

  • Profilbild von Alex Vainshtein

    @Alex_Vainshtein

    61 KB for FFT waves, whitecaps and a physically based sky is impressive. I'd be curious about the FFT resolution and frame time on something like a GTX 1080. Tiny bundle size doesn't necessarily mean lightweight rendering.

    7 Likes

  • Profilbild von Jurly

    @jurlycat

    fair point, bundle size says nothing about frame time. haven’t tested a 1080 yet.

    3 Likes

  • Profilbild von Vu

    @vutranttv

    Highly chance that I swam in 61KB HTML this afternoon. And we are all living in a SSR page.

    7 Likes

  • Profilbild von Jurly

    @jurlycat

    lol we’re all just wet markup with a loading spinner

  • Profilbild von TopxAI

    @topxea

    the headless chrome screenshots + subagents roasting the clouds part is the real story. giving it eyes on its own output changes everything for visual stuff

    5 Likes

  • Profilbild von Jurly

    @jurlycat

    yep, screenshot feedback loops are absurdly useful for visual work lol

    1 Like

  • Profilbild von TopxAI

    @topxea

    right? it stops guessing what the clouds look like and just goes and looks. half of fixing visual bugs is that

  • Profilbild von AI Wang

    @loveAIwang

    opened it on my laptop and lost a solid ten minutes just flying low over the waves 🌊

    3 Likes

  • Profilbild von Jurly

    @jurlycat

    flying low over the waves is dangerously good at eating time lol

    1 Like

  • Profilbild von AI Wang

    @loveAIwang

    honestly might just leave it open as my screensaver at this point 🌊

    1 Like

  • Profilbild von Daniel

    @xk2324573703

    61 KB for FFT waves and a full sunset sky. the hard part used to be the engine. now it's knowing what to ask for.

    3 Likes

  • Profilbild von Jurly

    @jurlycat

    and knowing when the screenshot is lying lol

    2 Likes

  • Profilbild von Lumina

    @Ultima_Lumina

    This is incredible! 😍

    3 Likes

  • Profilbild von Jurly

    @jurlycat

    thanks! wild what you can fit in 61 kb lol

  • Profilbild von Khabirul Basar

    @khabirul_dev

    An entire ocean in 61 KB, and my cookie banner still weighs more. 😮‍💨

    2 Likes

  • Profilbild von Jurly

    @jurlycat

    lol your cookie banner needs some serious optimization work

    2 Likes

  • Profilbild von Khabirul Basar

    @khabirul_dev

    Yeah, I hit the Claude Code limit last night. Need to ask it to optimize the code. 😅

    2 Likes