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) * 8;
fill(0, height - y * 1.5 * n);
ellipse(x + n, y + n, 200 / y, 100 - y);
y = y + (n * 2);
if (y > height) {
y = 10;
x = x + (n * 2);
}
if (x > width) {
noLoop()
}
}