Layered wave simulator

Every pixel is a formula: stacked curling bands, ordered front to back by a running product of masks. Foam forms where the lip overturns and where the swell steepens.

1 to 60
0 to 1
0 to 1
0 to 1
0 to 3
3D view: drag to orbit, scroll to zoom