Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 15

Tweet P5 Particle Study 15

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)
noStroke()
t+=.1
c=cos
for(i=0;i<N;i++)for(j=0;j<N;j++)I=i+j/N,[x,y,z]=[c(z)+sin(i+x),sin(I+z)+c(i+x),sin(I+x)+c(I+y)],o=c(z),fill(i,z*99,j,N*o*o),circle(x*N+N,y*N+N,2*pow(2-o,2)),z+=t}//#つぶやきProcessing

comments powered by Disqus