I've been tinkering with this fluid simulator. I don't know a lot about physics so the physics itself is very similar to the original project (thanks @Joshuaplink!). Here are some of the changes I did make: - Add foam effect (and change water color) - Add new options, like to only render the top of the water - Add logic to keep the same waves when changing resolution - Clean up the code and add more comments - Add named variables in place of magic numbers - Change out-of-bounds rules so nodes can't get stuck at the top of the screen