xxxxxxxxxx
28
let seedStartY;
let seedStartX;
let seedSize = 5;
function setup() {
createCanvas(windowWidth, windowHeight);
background(220);
seedStartY = height;
seedStartX = random(0 , width);
colorMode(HSB);
}
function draw() {
for (let i = 0; i < height; i++) {
circle(seedStartX + noise(-i, i)/100, seedStartY, seedSize);
seedStartY = seedStartY - i/100;
seedSize++;
if (seedStartY < 0) {
seedStartY = height;
seedSize = noise(5);
seedStartX = random(0 , width);
fill(random(0,255),random(0,255),random(0,255),random(100));
}
}
}