
Description
After writing my first iPhone app some time ago (see: Navier Stokes: iPhone vs iPad), last week I wrote another one. Not very surprising, this app is again a fluid simulation.
Inspiration for the app is some liquid-simulation code I found floating around on the internet. As far as I can see the first implementation of the simulation is in java and can be found here. This simulator is already ported to flash, and (for some extra karma) to html5. Hoping for some karma left, I ported the code to iOS. I did some simplifications of the math, reducing the amount of operations in the inner loop and speeding up the simulation, but the algorithm is in fact the same as the java, flash and html5 port.
You can download the (free) app here or read more about it in this post.












