GPGPU with WebGL: simulating fluids (trailer)

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!):


2 thoughts on “GPGPU with WebGL: simulating fluids (trailer)

  1. I know it’s been a while but it would be nice to see your implementation details; still waiting for the “next post” 🙂

  2. mchouza says:

    Sorry for not doing a followup. You can see it work at but I haven’t found the time to describe it and fix some initialization bugs. Thanks for your interest!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s