sqrt() / Reference
size(400, 400); noStroke(); float a = sqrt(104976); // Sets 'a' to 324 float b = sqrt(10000); // Sets 'b' to 100 float c = sqrt(256); // Sets 'c' to 16 rect(0, 100, a, 40); rect(0, 180, b, 40); rect(0, 260, c, 40);
sqrt() / Reference
size(400, 400);
noStroke();
float a = sqrt(104976); // Sets 'a' to 324
float b = sqrt(10000); // Sets 'b' to 100
float c = sqrt(256); // Sets 'c' to 16
rect(0, 100, a, 40);
rect(0, 180, b, 40);
rect(0, 260, c, 40);