Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 13

Tweet P5 Particle Study 13

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

N=t=200
x=y=z=8
draw=_=>{N<t||createCanvas(W=400,W)
background(0)
t+=.06
for(i=0;i<N;i++)for(j=0;j<N;j++)I=i*N+j,[x,y,z]=[cos(I+(z))*sin(i/N+x),sin(I+(z))+sin(i/N+y),sin(I+x)+2*cos(I+y)],stroke(i,z*99,N-j),z>.2&&point(x*N/2+W/2,y*N/2+W/2),y+=t}//#つぶやきProcessing

comments powered by Disqus