p5(sketch => {
sketch.setup = function() {
sketch.createCanvas(800, 420);
sketch.background(0,0,33);
sketch.smooth();
sketch.noStroke();
};
sketch.draw = function() {
sketch.background(0,0,33);
for (var y=75; y<sketch.height-75; y+=25) {
for (var x=75; x<sketch.width-75; x+=25) {
let dia = sketch.noise(x * noiseFreq, y * noiseFreq, sketch.frameCount*freq) * noiseAmm;
sketch.ellipse(x, y, dia, dia);
}
}
};
})