Real Time Fluids

Implementation of Real-Time Fluid Dynamics for Games in modern C++ using multithreading and GLUT.

Building

Run ccompile.sh to build. The output file will be a.out

Controls

  • right mouse: adds fluid
  • c: clears the simulation
  • q: quit

Parameters

You can tweak the dollowing parameters:

  • fluid viscosity
  • diffusion