xxxxxxxxxx
function setup() {
createCanvas(windowWidth, windowHeight);
background("white");
noLoop();
}
function draw() {
drawGrid()
}
function drawGrid() {
for (let x = 0; x < windowWidth; x += 50) {
for (let y = 0; y < windowHeight; y += 50) {
noFill();
circle(x, y, 10);
//strokeWeight(random(1, 10));
if (x%3===0) {
line(x, y, x + 50, y + 50);
} else {
line(x + 50, y, x, y + 50);
}
}
}
}