- To learn more about the math involved, check out the following sources:

+ To learn more about the math involved, see the following sources:

Real-time ink simulation using a grid-particle method - mixing Eulerian and Lagrangian techniques for fluids.

Fast Fluid Dynamics Simulation on the GPU - a very well written tutorial about programming the Navier-Stokes equations on a GPU. Though not WebGL specific, it was still very useful.

Fluid Simulation (with WebGL demo) - this article has some nice, interactive graphics that helped me debug my code.

Stable Fluids - a paper about stable numerical methods for evaluating Navier-Stokes on a discrete grid.

- By Amanda Ghassaei, code on Github. + By Amanda Ghassaei.