Introduction - If you have any usage issues, please Google them yourself
It demonstrate generating time-varying ocean surface using Pierson-Moskowitz spectrum. To make the surface time-varying, the dispersion relation is taken into account in this code. In addition, the generated ocean surface is displayed in an animation.