Twitter/X

On 2026-08-07 @om_patel5 reported someone one-shot a full 3D sandcastle simulator…

Brief

A one-shot Opus 5 build (reported by @om_patel5 on 2026-08-07) produced a browser-playable 3D sandcastle simulator in ~7,000 lines and a single WebGL context with no external assets. It simulates tens of thousands of GPU grains (33° dry angle of repose, wetting, packing, conservation), unscripted tidal collapses, 9 art styles, 11 interactive crabs, and extensive runtime telemetry (7h47m, 943M tokens).

Why it matters

On 2026-08-07 @om_patel5 reported someone one-shot a full 3D sandcastle simulator with Opus 5: ~7,000 lines of code, a single WebGL context, no game engine/libraries/asset files, open-source and playable in-browser.

Key details

  • The simulator models tens of thousands of GPU-simulated grains with realistic behavior: dry sand won’t hold slopes past 33°, wetting creates capillary bridges (allowing over-vertical builds), over-soaking makes it flow, packing is permanent, and grains are conserved (digging fills a pail, pouring empties it).
  • The build includes dynamic tides that undermine walls (unscripted collapses), 9 art styles, 11 crabs that interact with structures, and the prompt run lasted 7h47m with 2,596 turns, 1,680 tool calls, and 943 million tokens.
Source evidence

SOMEONE ONE-SHOTTED A FULL 3D SANDCASTLE SIMULATOR WITH OPUS 5

no game engine, no libraries, no asset files. just one webgl context and about 7,000 lines of code

the sand actually behaves like sand:

> dry sand refuses to hold a slope past 33 degrees, so it just slumps into a cone
> wet it and the water bridges the grains, so you can build past vertical
> soak it too much and the bridges join up and it runs like soup
> pat it down and it compacts, and packing doesnt evaporate, so a tower you mould at noon is still standing at the same height when its bone dry

sand is conserved to the grain. digging fills your pail, pouring empties it

when you pour, its not editing the ground either. tens of thousands of gpu simulated grains actually arc through the air, fall, and only raise the ground where they land

then theres a tide. waves undermine the base of your walls and things collapse on their own, nothing is scripted. a moat spends a wave, a packed berm turns one

it ships with 9 different art styles, from photoreal to woodblock print to a survey map with contour lines drawn straight off the terrain

and crabs. 11 of them wander the beach, walk sideways, climb over ramparts you just built, and bolt if you bring a tool near them

that one prompt ran 7 hours 47 minutes in one sitting, 2,596 turns, 1,680 tool calls, and 943 million tokens

its open source and free to play in your browser

Video