Share
t=[],N=0,draw=a=>{N||createCanvas(W=400,W),background(0,9),t[N++%200]=[f=(r=random)(W),g=r(W),W-f,W,f,g],t.find(a=>{t.find(([,,,,n,r])=>{m=mag(x=a[4]-n,y=a[5]-r)+1,m<30&&(u=a[4]+=cos(B=a[1]+=atan2(x,y)/m),v=a[5]+=sin(B),stroke(a),line(u,v,n,r))})})};//#つぶやきProcessing
25 Apr 2020