xxxxxxxxxx
20
// Grid size variables
let xStep = 70;
let yStep = 60;
function setup() {
createCanvas(700, 700);
background(230);
fill("red");
ellipse()
let yPos = 0;
let xPos = 0;
for (yPos = 30; yPos < height; yPos=yPos + yStep) {
for (xPos = 20; xPos<width; xPos=xPos + xStep) {
circle(xPos,yPos, 5);
}
}
}