Fluid Dynamics
Adapted from Pavel Dobryakov's WebGL fluid simulation — I reworked the color injection to use velocity-mapped gradients instead of the original's random splats, added vorticity confinement tuning for tighter curl patterns, and rewrote the bloom pass for smoother falloff. The core is a 20-iteration Jacobi pressure solver running entirely in fragment shaders.
TypeInteractive
Tech
WebGL
Share
View
How to interactClick & drag to swirl fluidMulti-touch supportedPress space for random splats
Tech:WebGL