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.

Field Dim

examine the impact of changing field dimension

Open in new tab ↗ · basicsfieldstrigonometry

/////////////////////////////////////////////////
// field-dim
// examine the impact of changing field dimension 
// over the same function 
/////////////////////////////////////////////////

&expr = cos( mlt(C.xy, 2) );

#A{ dim = (16,  16,  1); run = &expr;}
#B{ dim = (512, 512, 1); run = &expr;}

~A{
   col = #A;
   pos = (-1.1,0,0);
}

~B{
   col = #B;
   pos = (1.1,0,0);
}