This stunning WebGL fluid simulation transforms your browser into a physics playground where every mouse movement creates ripples of liquid color. Developed by Pavel Dobryakov, the simulation demonstrates sophisticated computational fluid dynamics running entirely in real-time through WebGL shaders.

The interface offers remarkable control over the physics parameters — adjust density diffusion to make colors blend more smoothly, crank up vorticity for more turbulent swirls, or modify pressure settings to change how the fluid responds to disturbances. The visual effects are equally impressive, with optional bloom lighting and sunray effects that make the flowing colors appear almost luminescent against the dark canvas.

What makes this simulation particularly compelling is its accessibility and performance. Complex fluid dynamics that once required specialized software now run smoothly in any modern browser, making advanced physics visualization available to anyone curious about how liquids behave. The randomized color splats feature adds an element of surprise, creating organic, ever-changing patterns that feel both mathematical and artistic.

Beyond its visual appeal, this project serves as an excellent demonstration of what’s possible with modern web technologies and GPU computing, proving that the browser has evolved into a powerful platform for interactive scientific visualization.

🔗 paveldogreat.github.io