-Click and drag to apply a force to the fluid: - - -

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

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.

-Written by Amanda Ghassaei as a homework assignment for The Nature of Mathematical Modeling, code on Github. -If you like this, you might also check out my other Fluid Simulation app. - +Written by Amanda Ghassaei as a homework assignment for The Nature of Mathematical Modeling. + -- GitLab