Naoto
Naoto Naoto Hieda

Tweet P5 Particle Study 22

Tweet P5 Particle Study 22

Pre-rendered for better experience. Port of Starfield from Coding Challenges.

for(N=200,S=[],r=Math.random,i=0;i<N;i++)S[i]=[r()-.5,r()-.5,r()/9+1];setup=()=>createCanvas(400,400),draw=()=>{for(s of(translate(N,N),background(0),fill(255),S))stroke(255),line(s[0],s[1],s[0]*=s[2],s[1]*=s[2]),noStroke(),circle(s[0]%=N,s[1]%=N,3)};//#つぶやきProcessing

comments powered by Disqus