xxxxxxxxxx
let x;
let y;
let z = 15;
function setup() {
createCanvas(400, 400);
}
function draw() {
background(0);
noFill();
stroke(255);
rectMode(CENTER);
for (let x = 50; x < width; x += 50) {
frameRate(8);
z = random(2, 49);
for (let y = 50; y < height; y += 50) {
z = random(2, 49);
if (z < 10) {
noFill();
} else {
fill(random(0, 255), random(0, 100), 0, 255);
}
circle(x, y, z);
}
circle(x, y, z);
}
}