xxxxxxxxxx
43
x=0;
woff=0;
w=50;
function setup() {
createCanvas(700, 700);
background(118,148,46);
rectMode(CORNERS);
}
function draw() {
noStroke();
r=random(1,10);
woff = woff + 0.1;
let n = noise(woff) * 2;
if (frameCount < r){
fill(231,201,148);}
if (frameCount > r){
fill(251,205,223);}
if (frameCount > r+1){
fill(231,201,148);}
rect(x,10,x+n,height-20);
x=x+100
w=w/n
if (x>650){
fill(70,70,33);
rect(50,600,50,50/n); noLoop();}
strokeWeight(20);
stroke(230,223,210);
noFill();
rect(0,0,width,height);
}