xxxxxxxxxx
29
x = 10;
y = 10;
let xoff = 0;
function setup() {
createCanvas(600, 600);
noStroke();
rectMode(RADIUS);
background(250);
}
function draw() {
xoff = xoff + .1;
let n = noise(xoff) * 5;
fill(0);
ellipse(x + n, y + n, 100 / y * 2, 10 - y);
y = y + (n * 5);
if (y > height) {
y = 10;
x = x + (n * 5);
}
if (x > width - 10) {
noLoop()
}
}