xxxxxxxxxx
24
function setup() {
createCanvas(500, 500);
frameRate(30);
// background(39);
fill(0);
noStroke();
// stroke(0)
// strokeWeight(5)
rectMode(CENTER);
}
function draw() {
background(255)
translate(width * 0.5, height * 0.5);
for (let x = -330; x <= 330; x += 10) {
for (let y = -330; y <= 330; y += 10) {
let size = map(noise(x * 0.0025, y * 0.0025, frameCount * 0.05), 0, 1, 1, 20);
ellipse(x, y, size);
}
}
}