August 31, 2011

Windows Phone Fluid Simulation

I've been fiddling around with some XNA and Windows Phone development recently. I put together a simple proof of concept for a game mechanic I was thinking about and wanted to share. The grid is entirely managed by the CPU and updated based on position and velocity of neighboring vertices. There remains lots of room for optimization, but I was pleasantly surprised to see it run this well.