Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 717 Bytes

readme.md

File metadata and controls

18 lines (13 loc) · 717 Bytes

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.

Usage

  • 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

Packages required

  • OpenGL (glew, glfw)

Video

fluid.mp4