Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 18

Tweet P5 Particle Study 18

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

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

comments powered by Disqus