size(300,300); for(int i=0;i<300; i=i+30){ for(int j=0 ;j<300; j=j+30){ fill(20,20,200); rect(i,j,1,1); stroke(0,255,100); point(15+i,15+j); } }