Software Engineer and Student
Loading posts...
Feel free to contact me at kanishksachdev@gmail.com
An interactive real-time fluid dynamics simulation using the Navier-Stokes equations. Drag your mouse to add colored dye and create beautiful fluid flows. Based on Jos Stam's stable fluids algorithm.
Controls fluid thickness (lower = more watery, higher = more viscous)
Controls how quickly dye spreads through the fluid
Higher values increase accuracy but reduce performance
Size of the dye brush when painting
How much force is applied when dragging
Visualize fluid motion direction and speed
This simulation solves the Navier-Stokes equations for incompressible fluid flow in real-time. The algorithm consists of three main steps:
Try different combinations of viscosity and diffusion to create unique flow patterns!