// live demo
Fluid
A Stable Fluids solver running entirely on the GPU. Each frame the
velocity field is advected, its divergence relaxed with a 30-step
Jacobi pressure solve, then the gradient subtracted to
keep it incompressible — the classic Navier-Stokes pipeline. Raw
WebGL2 with float-texture framebuffer
ping-pong; no Three.js, no library.
- WebGL2
- GLSL ES 3.00
- EXT_color_buffer_float
- Ping-pong FBO
- Navier-Stokes
Heads up: your browser can't render to floating-point
textures, so the live GPU solver can't run here. Showing a soft animated
gradient instead.