xxxxxxxxxx
1
setup=()=>{w=96;h=78.5;createCanvas(w*2,h*2);s=w;t=h;};draw=()=>{f=frameCount;a=-h*sin(f*.01);b=h*cos(f*.01);background(0,10);stroke('#0f06');line(w,h,w+a,h+b);if(f%2==0){n=noise(f*.02);u=w+a*n;v=h+b*n;stroke('#0f0');triangle(w+a,h+b,s,t,u,v);s=u;t=v;}}// #tinycode @CCodeMadrid