Implementation of Real-Time Fluid Dynamics for Games in modern C++ using multithreading and GLUT.
Run ccompile.sh
to build. The output file will be a.out
- right mouse: adds fluid
- c: clears the simulation
- q: quit
You can tweak the dollowing parameters:
- fluid viscosity
- diffusion