let tx=0; let ty=0; let tz=0; let nx; let ny; let nz=10; function setup(){ createCanvas(600,600); background(0) noStroke(); nx = random(200); nx = random(200); } function draw(){ fill(random,120,120,100); nx=random(tx); ny=random(ty); nz=random(tz); nx=map(nx,0,1,0,width); ny=map(ny,0,1,0,width); nz=map(nz,0,1,10,100); tx+=0.011; ty+=0.111; tz+=0.001; a=random(860); rotate(radians(a)); rect(constrain(nx,0,width),constrain(ny,4,height),nz,nz); }