xxxxxxxxxx
19
let gridW = 40;
function setup() {
createCanvas(windowWidth, windowHeight);
noStroke();
noLoop();
}
function draw() {
background(220, 20, 120);
for (let x = gridW / 2; x < width + gridW; x += gridW) {
for (let y = gridW / 2; y < height + gridW; y += gridW) {
let eDiam = randomGaussian(0, gridW / 3);
ellipse(x, y, eDiam, eDiam);
}
}
}