Re:WebGL Water Simulator
by elberto34 on Saturday January 10, 2015 @06:46PM
(#8868415)
does this use the navier stokes equations? How are the ripples generated?
[ Parent
| on HN ]
Nope, it's much simpler than that. It's just a grid of vertical positions and each frame every cell moves toward the average position of the neighbors from the previous frame. See http://freespace.virgin.net/hugo.elias/graphics/x_water.htm for details.