C++ Implementation of Jos Stam's Stable Fluid Solver
Jos Stam's seminal paper in fluid simulation provided a stable (meaning that the flows don't blow up) way to simulate the Navier-Stokes equations of a fluid. This implementation was written in C++ and rendered using OpenGL.
- Right-mouse: drop coloured dye into the fluid
- Left-mouse: move the fluid around
- Q: switch to red dye
- W: switch to green dye
- E: switch to blue dye
- OpenGL (glew, glfw)