Physical simulation of ripples rendered in 3D in the browser