Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 12

Tweet P5 Particle Study 12

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)+cos(I+y)],stroke(i,j,N-j),z>.2&&point(x*N/2+W/2,y*N/2+W/2),x+=t}//#つぶやきProcessing

comments powered by Disqus