Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 20

Tweet P5 Particle Study 20

Pre-rendered for better experience. The code is mostly from yuruyurau, ported to JavaScript.

N=t=200
draw=_=>{N<t||createCanvas(W=400,W)
background(x=y=z=0)
noStroke()
t+=1
s=sin
c=cos
for(i=2;i<N;i+=4)for(j=0;j<N;j++)[x,y,z]=[c(i+z)+s(2*i+x),s(i+z)+c(2*i+x),c(x)],o=abs(z-c(t/9)/2),fill(i,z*N,j,W*exp(-o*4)),circle(x*99+N,y*99+N,exp(o*2)+1),x+=t/i}//#つぶやきProcessing

comments powered by Disqus