Processed locallyRust WASMCompute-heavyStable Fluids

Fluid simulator

Implement Stable Fluids with Rust WASM on a 256×256 grid using velocity advection, diffusion and pressure projection; drag to inject dye.

Compute-heavy

The stable-fluids solver performs multiple Jacobi iterations and pressure projections per frame; the grid is 256×256 and the frame rate depends on the device.

Fluid parameters

0 FPS
Grid256×256
Frame rate0 FPS
SolverStable Fluids

Initializing…

Fluid canvas

256×256

Drag on the canvas to inject dye and velocity; brighter colors mean higher dye concentration.