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.

Sampler Multiplier

Open in new tab ↗

////////////////////////////////////////////////////////
// sampler-multiplier
// Concept: inter-field sampling
// plot multiple copies of a low-resolution source field
// from a larger display field with variable scale
///////////////////////////////////////////////////////

#A {
   dim = (16,16,1);
   set = mlt(
      sub(1, dst(C, 0)), // radial falloff from the center
      rand(1,2,3)        // randomize the source field
   );
}

#B {
   dim = (128,128,1);
   run = #A[mlt(C, step, 0.05)]; // sample #A over time
}

~A {
   col = #B;
}