xxxxxxxxxx
42
function setup() {
createCanvas(400, 400);
noiseSeed(50);
}
function draw() {
background(220);
let inc = 0.1;
let r = 25;
let xoff = 0 + frameCount * 0.01;
let yoff = 1000 + frameCount * 0.01;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
circle(noise(xoff) * width, noise(yoff) * height, r * 2);
xoff += inc;
yoff += inc;
}