Hi, author here.<p>Here's the code:<p>F=()=>{
c=v.getContext('2d')
c.lineWidth=.03
C=[1,-.5,-.5]
S=[0,.87,-.87]
P=[[X=300,Y=300],[X,Y],[X,Y]]
R=()=>{d=parseInt(Math.random()<i>3)
P=<a href="http://P.map" rel="nofollow">http://P.map</a> (([x,y],i)=>(c.moveTo(x,y),c.lineTo(X=x+3</i>C[I=(d+i)%3],Y=y+3*S[I]),[X,Y]))
c.stroke()
setTimeout(R,17)
}
R()}<p>Assumes no existing dependencies or dwitter-like shortcuts available.
Needs this HTML to be on the page:<p><canvas width=400 height=400 id="v"></canvas><script>F()</script><p>Demo here: <a href="https://runkit.com/asyncanup/5cd629840a18bf001b4860e9" rel="nofollow">https://runkit.com/asyncanup/5cd629840a18bf001b4860e9</a>