function setup() {
createCanvas(1280, 720);
}
function draw() {
background(0,0,225);
for(let y=0; y<height; y+=50)
{
for(let x=0; x<width;x+=40)
{fill(225,204,0);
ellipse(x,y,40,40);
rect(50,50,200,600);
rect(300,50,200,600);
rect(600,50,200,600);
rect(900,50,200,600);
for(let y=0; y<height; y+=80)
{ for(let x=0; x<width; x+=80)
rect( x,y, 40,40);
}
}
}
}
Comments