Fluid Simulation

During my undergrad I read the notes of Robert Bridsons class on Fluid Simulation and implemented the given ideas. I first implemented everything in C++ and OpenGL and later translated everything to JavaScript and WebGL. The most difficult aspect of this fluid simulation was to implement an algorithm called Modified Incomplete Cholesky Conjugate Gradient to solve pressure equations over the fluid grid.