2D Fluids and Marching squares


I want to learn how to do 2d fluids, googling I found about the marching squares algorithm so I wonder if someone has work on this already and dont mind sharing the knowledge. There is the gamedev.net article but they do it pixel by pixel and I think that is too slow, marching squares on the other hand where I can adjust the resolution of the grid sounds like a more optimize approach, am I right?

Here is an example of what I am trying to achieve http://www.field.io/project/liquids#/0 also something like this
I can use MSAPhysics to do the particles work but I need the marching squares layer on top.

Any help will be much appreciated

  • rS