W,N,t=540,200,0
C,R=cos,TAU
def setup():size(W,W);noStroke()
def draw():global t;clear();[F(i/N*2./N-1,i%N*2./N-1,i%2,N/2,W/2)for i in range(N*N)];t+=.1
def F(x,y,f,s,o):n=noise(C(x*R)+C(y*R+t)+C(t));d=[mag(x,y,n),sqrt(x*x+y*y-n*n)][f];circle(x/d*s+o,y/d*s+o,d)#つぶやきProcessingpic.twitter.com/eVLv3PiHQf
-
Show this thread
-
Replying to @yuruyurau
Wow! This is amazing. How do you get your http://processing.py sketches to run so fast? Or is the GIF speeded up? And I have to change "circle" to "ellipse."
1 reply 0 retweets 1 like
Replying to @hackingmath
アリガト-! Processing default is 60fps, but 200*200 loops are slow. So I converted it to GIF at 33.33fps. Circle-ellipse problem
7:42 AM - 28 Feb 2020
0 replies
0 retweets
1 like
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
