—
FLUID
//
BENCH
single-file WebGL2 stable fluids · no deps
SIMULATION
⏸ Pause
⟲ Reset
✕ Clear dye
Sim res
64
96
128
192
256
384
512
Dye res
2×
4×
8×
768
Timestep
1.00×
Viscosity
0.04
Pressure it
22
FORCES & TRANSPORT
Vorticity
18
Vel dissip
0.20
Dye dissip
0.10
Force
6000
Radius
0.25
VISUALIZATION
Dye
|Velocity|
Direction
Pressure
Divergence
Vorticity
Dye color
Auto-cycle colors
Attract mode (auto-stir when idle)
booting…
drag = inject dye + momentum
scroll wheel = radius · shift+wheel = force
space pause · R reset · C clear · 1–6 modes · H hide UI
⚠ This benchmark requires a browser with
WebGL2
and float render-target support (
EXT_color_buffer_float
).
JavaScript is required to run this fluid simulation.