Share
t=[],c=N=0,draw=a=>{if(!c++)for(createCanvas(W=400,W);N<81;N++)t[N]=[W-5*N,0,f=5*N,W,random(W),f];noStroke(),t.find(a=>{t.find(f=>{[,,,,q,s]=f,m=mag(x=a[4]-q,y=a[5]-s)+1,b=a[1]+=atan2(x,y)/m,u=a[4]+=cos(b)/N,v=a[5]+=sin(b)/N}),fill(a),circle(u,v,2)})};//#つぶやきProcessing
06 Apr 2020