Compute intensive! Use tools like P5Capture to record the animation. More info in comments...
xxxxxxxxxx
// Use tools like P5Capture to record the animation
// https://github.com/tapioca24/p5.capture
// Tutorial how to use it with p5js is coming soon :-)
f=0
draw=_=>{
f||createCanvas(W=400,W,R=rotate,F=filter)
background(n=.5)
for(i=-99;i<500;i+=20){
push()
translate(x=200,y=i+f%40)
R((noise(y/W)-n)*8)
push(n=-n)
scale(1,4)
R(-PI/4)
pop(rect(0,-22,25))
pop()
}
rect(x,0,9,W)
f+=n// n=0.5
F(BLUR,5)
F(THRESHOLD,n)
}
// ----------------------------------------
// Minimized
// ----------------------------------------
// f=0,draw=a=>{for(f||createCanvas(W=400,W,R=rotate,F=filter),background(n=.5),i=-99;i<500;i+=20)push(),translate(x=200,y=i+f%40),R(8*(noise(y/W)-n)),push(n=-n),scale(1,4),R(-PI/4),pop(rect(0,-22,25)),pop();rect(x,0,9,W),f+=n,F(BLUR,5),F(THRESHOLD,n)};//#つぶやきProcessing