A two dimensional smoke simulation based on Jos Stam's stable fluid solver.
The demo, Main.cc, currently only runs on OS X.
- SDL2
- OpenGL
- Cocoa
- C++11
$ git clone https://github.com/Robinseibold/two-dimensional-smoke-simulation.git
$ make
$ make run
ESC
- Exit program.SPACE
- Reset the fluid.Left mosue button hold + drag
- Generate density as well as velocity.Right mouse button hold + drag
- Generate velocity.