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

Advertisements

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
    https://mchouza.googlecode.com/svn/trunk/webgl-proc/lb-fluid-sim/lb_fluid_sim.html 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:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s