title: Algorithm to simulate in real time some liquid in a 2D container
body: <p>I'm looking for some algorithms (or some applets/examples with source code) to simulate fluids in a 2D container (which can be moved and rotated).</p>
  
  <p>An example of what I need is a 2D glass with some water inside, like the iBeer application for smart phones.</p>