|
size(300,300);
background(255,0,67);
for(int i =0; i<300 ; i=i+50){
for(int j=0; j<300 ; j=j+50){
strokeWeight(1.5);
stroke(255,255,0);
fill(255,255,255);
rect(i+10,j+10,10,10);
fill(0,0,0);
rect(i+40,j+40,20,20);
strokeWeight(1);
fill(0,255,208,10);
rect(i+20,j+20,10,10);
strokeWeight(1);
line(i+50,50,i+50,j+150);
line(i+15,15,i+15,j+15);
line(i+25,25,i+25,j+25);
line(15,j+15,i+15,j+15);
line(25,j+25,i+25,j+25);
line(50,j+50,i+50,j+50);
}
}
|