p5((s) => {
let w = 600;
let h = 400;
let cw = 20;
let ch = 20;
let noiseScale = 0.01
s.setup = function () {
s.createCanvas(w, h);
s.noLoop();
};
s.draw = function () {
s.noFill()
for (let x = 0; x < w; x += cw) {
for (let y = 0; y < h; y += ch) {
s.translate(x, y)
s.translate(cw / 2, ch / 2)
let size = s.noise(x * noiseScale, y * noiseScale) * 50
s.ellipse(0, 0, size, size)
s.resetMatrix()
}
}
};
})