Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 29

for(t=[],W=400,c=N=0;N<201;N++)t[N]=[W-N,0,2*N];draw=o=>{c||createCanvas(W,W),(d=drawingContext).shadowBlur=5,noStroke(),t.find(o=>{d.shadowColor=color([q,r,s]=t[c++%N]),o[0]+=cos(b=o[1]=atan2(q,s)*mag(q,s)/30),o[2]+=sin(b),fill(o),circle(o[0]-99,o[2],2)})};//#つぶやきProcessing

comments powered by Disqus