In a previous post we solved Laplace’s Equation using WebGL. We will see how to implement the Lattice Boltzmann algorithm using WebGL shaders in the next post, but this post has a preview of the solution:

Click on the image to go to the demo. New obstacles can be created by dragging the mouse over the simulation area.
Video of the simulation (best seen in 720!):