xxxxxxxxxx
18
function setup() {
createCanvas(600, 600);
}
function draw() {
background("#F0D3F7");
stroke("#B98EA7");
fill("#A57982");
let spacing = 15;
for (let y = 10; y < height; y += spacing) {
for (let x = 0; x < width; x += 25) {
square(x, y, 10); // x, y, w // square or a rectangle -- x and y are top left point
}
}
}