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 Coordinates

Visualize the C built-in

Open in new tab ↗ · basicscoord_domformations

////////////////////////////
// Coordinates
// Visualize the C built-in 
////////////////////////////

~A {
   col = C.x;
   pos = (-1,1,0);
}

~B {
   col = C.y;
   pos = (1,1,0);
}

~C {
   col = C.xyz;
   pos = (-1,-1,0);
}

~D {
   col = dst(C.xyz, 0);;
   pos = (1,-1,0);
}