ア Retweeted ア
ア added,
ア @yuruyurau
D=8;W=540
p=lambda z,d:0 if z==0j else z**d
def setup():size(W,W);loadPixels();[F(i/W,i%W,256,0+0j,0)for i in range(W*W)];updatePixels()
def F(u,v,N,z,i):
while abs(z**2)<4 and i<N:z=p(z,D)+complex(u*3./W-1.5,v*3./W-1.5);i+=1;pixels[u+v*W]=color(256-256*i/N)
#つぶやきProcessing pic.twitter.com/K5afCyptBv
Show this thread
3:43 AM - 28 Apr 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.
