GPU fluid sim
Build a GPU-accelerated fluid simulation in a single HTML file using WebGL, no external libraries.
More
1 test · 6 finished runs (6 agent, 0 raw one-shot) · 6 live demos
The prompt
Build a GPU-accelerated fluid simulation in a single HTML file using WebGL, no external libraries. Dragging the mouse or a finger should push colorful dye through the fluid, with a soft glow. Make it look stunning and run smoothly. Build it as a self-contained index.html in the current directory, with WebGL/WebGL2 shaders you write yourself; no libraries and no CDNs; interactive with mouse or touch input. You may serve it locally and open it in headless chromium (/usr/bin/chromium, software WebGL, no GPU) to screenshot and inspect your own output, and iterate on your own before finishing. Close any browser you open as soon as you've taken your screenshot.
Same prompt, all models: step through 10 runsIn the gallery: one player, arrow keys or swipe.
Live scene
Live scene
Live scene
Live scene
Live scene
Live sceneLongCat 2.5 Preview
OpenCode 1.18.32
skills off
Failed · Stopped by us
The model's code errors on load: ambientTime is not defined