xxxxxxxxxx
28
x = 50;
y = 50;
let xoff = 0;
function setup() {
createCanvas(700, 700);
background(250);
noStroke();
fill(63, 56, 60);
rectMode(RADIUS);
}
function draw() {
xoff = xoff + 0.1;
let n = noise(xoff) * 15;
x = x + (n * 3);
rect(x, y, n, n);
if (x > 600) {
x = n * 3;
y = y + n * 3;
if (y > 650) {
noLoop()
}
}
}