xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
frameRate(2);
}
function draw() {
background(0, 0, 0);
noFill();
stroke(255, 0, 0);
strokeWeight (1);
for(let x = 30; x < width; x+=70) {
for (let y = 30; y < height; y+=70) {
stroke(255, 0, 0, random(255));
rect(x, y, 60, 60);
}
}
}