Adjust sliders. Find best settings. Foam may slow down program, if set > 0.
Layers of sine and cosine waves, for stylized waves. I did something similar with waving flags. I did much of the wave effect with setting brightness to sine and cosine, shadowing to delineate waves. Farther away, ocean is bluer and less saturated. A cartoon model with some key features of oceans.