Creates water surface based off pressure at each increment. Adjust sliders to see different results The push value is how much the water is affected by other forces, and the pull is how much it wants to retain its original shape. Turbulence is really just used for wind.
All code by me :) It's very simple simulation of a large body of water. Hopefully it's useful for you games! If you like, I can show you how to add interactivity to the water! As always, I appreciate comments and suggestions.