// placing items in a grid - now they are circles // to practice the for loop // Zs. Ruttkay - 10.09.2009 int canvSize = 200; // size of the square-shaped canvas int m = 10; // nof items per row and coloumn int d = canvSize/(m+1); // distance of grid points void setup () { size(canvSize, canvSize); background(255); fill(0); smooth(); noLoop(); ellipseMode(CENTER); } void draw() { for (int i = 0; i