Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 28

for(t=[],W=400,c=N=0;N<201;N++)t[N]=[0,N,8,N,0];setup=N=>createCanvas(W,W),draw=a=>{clear(),noStroke(),t.find((a,r)=>{[j,k,l,m]=t[++c%N],a[0]=cos(1.5*a[4])*m,a[1]=sin(a[4])*m,a[4]=l/N,a[2]=atan2(j,k)*floor(mag(j,k)),fill(a),circle(j+N,k+N,l/4)})};//#つぶやきProcessing

comments powered by Disqus