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);
//line(x,y, x+50, y+50)
strokeWeight(random(1, 10));
line(x+50, y, x, y+50)
}
}
}