Stable Fluids — live smoke

Jos Stam's incompressible Navier–Stokes on the GPU, with buoyancy and vorticity confinement. Drag on the canvas to blow the smoke.

Renders at 512² (sim 256²). Requires WebGL2 with float render targets (EXT_color_buffer_float). It renders live on any GPU with WebGL2 + float render targets. If it stays black, your GPU lacks float FBOs; on pure-software renderers (SwiftShader) the half-float dye can saturate to white — that is the renderer, not the physics. The C reference that made the hero image is at /lab/.