|
size(300,300);
background(200,200,0);
for(int i=0; i<300 ; i=i+20){
for(int j=0; j<300; j=j+30){
stroke(255-j,i,j);
line(i+5,j+5,i+25,j+35);
line(285-i,j+5,265-i,j+35);
stroke(100,100,255);
fill(255);
rect(i,j,10,10);
line(i+2,j+5,i+8,j+5);
line(i+5,j+2,i+5,j+8);
}
}
|