News for hackers. Stuff that matters.
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?
Re:WebGL Water Simulator by constexpr on Saturday January 10, 2015 @07:06PM (#8868489)
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.