xxxxxxxxxx
19
function setup() {
createCanvas(400, 400);
}
function draw() {
background(220);
for (let y = 0; y < height; y += 30) {
for (let x = 0; x < width; x += 30) {
fill(random(255),random(255),random(255))
rect(x,y,random(50),random(50));
strokeWeight(2)
line(x,0,x,400)
line(0,y,400,y)
}
}
noLoop()
}