I used the following sources to write this simulation:<br/><br/>
<ahref="https://pdfs.semanticscholar.org/84b8/c7b7eecf90ebd9d54a51544ca0f8ff93c137.pdf"target="_blank">Real-time ink simulation using a grid-particle method</a><br/>
<ahref="https://pdfs.semanticscholar.org/84b8/c7b7eecf90ebd9d54a51544ca0f8ff93c137.pdf"target="_blank">Real-time ink simulation using a grid-particle method</a> - a method for real-time simulation of ink
in water using a coarse-grained fluid simulation with a particle simulation on top.<br/>
<ahref="http://http.developer.nvidia.com/GPUGems/gpugems_ch38.html"target="_blank">Fast Fluid Dynamics Simulation on the GPU</a> - a very well written tutorial about programming the Navier-Stokes equations on a GPU.<br/>
<ahref="http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/ns.pdf"target="_blank">Stable Fluids</a> - a paper about numerical methods for evaluating Navier-Stokes on a discrete grid.<br/>
<ahref="http://www.dgp.toronto.edu/people/stam/reality/Research/pdf/ns.pdf"target="_blank">Stable Fluids</a> - a paper about stable numerical methods for evaluating Navier-Stokes on a discrete grid.<br/>
<br/>
By <ahref="http://www.amandaghassaei.com/"target="_blank">Amanda Ghassaei</a>, code on <ahref="https://github.com/amandaghassaei/FluidSimulation"target="_blank">Github</a>.