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,f,f];noStroke(),t.find(f=>{t.find(a=>{[,,w,,q,s]=a,m=mag(x=f[4]-q,y=f[5]-s)+1,b=f[1]+=(w/5%2?1:-1)*atan2(x,y)/m,u=f[4]+=cos(b)/N,v=f[5]+=sin(b)/N}),fill(f),circle(u,v,2)})};//#つぶやきProcessing
08 Apr 2020