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.