Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 14

Tweet P5 Particle Study 14

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

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

comments powered by Disqus