← Back to Lab WebGL2 · GPU simulation

Neon Fluid

A Navier–Stokes fluid solved on the GPU every frame: advection, vorticity, a pressure solve and a projection step, all in fragment shaders. Drag to push the fluid and pour ink into it.

Drag — stir the fluid