xxxxxxxxxx
27
function setup() {
createCanvas(600, 600)
frameRate(15);
background(39);
stroke(39)
// fill(39);
noStroke()
rectMode(CENTER);
// noiseDetail(4, 0.7);
}
function draw() {
// translate(width / 2, height / 2);
// clear('transparent')
background(39)
const dotSize = 8
const multiplier = .5;
for (var x = -width; x <= width; x += dotSize) {
for (var y = -height; y <= height; y += dotSize) {
var size = map(noise(x * 0.0025, y * 0.0025, frameCount * 0.03), 0, 1, -dotSize * multiplier, dotSize * multiplier);
// fill(size > 0 ? 39 : 255)
circle(x, y, size);
}
}
}