Real-time fluid dynamics on your GPU.Move, drag, play.
Aurora solves the incompressible Navier–Stokes equations every frame, entirely on the GPU, using Jos Stam's Stable Fluids method. Each step is a full-screen fragment-shader pass that writes into half-float textures:
Press 2, 3 or 4 to see the raw velocity, pressure and vorticity fields the solver works with. Settings live in the URL, so Share gives a link that reproduces your setup. If the GPU struggles, dye resolution is lowered automatically.
Raw WebGL2 · under 1,000 lines of JavaScript and GLSL · no libraries · no build step.
This demo needs WebGL2 with floating-point render targets.