This browser has no WebGPU, so the sketch cannot run here. The program is below, and it runs in a current Chrome, Edge or Safari.

Interference Field

Combine the X and Y coordinates to produce an evolving wave pattern

Open in new tab ↗ · trigonometry

///////////////////////////////////////////////////////////////////////
// interference-field
// Combine the X and Y coordinates to produce an evolving wave pattern.
//////////////////////////////////////////////////////////////////////

&time = mlt(step, 0.1); // scale step into a time value
&phase = mlt(C.x, C.y, &time); // combine position and time into a phase value

#A {
   dim = (32, 32, 1);
   run = sin(&phase);
}

~A {
   col = #A;
}