W=540;R=random
p=[[R(W),R(W)]for i in '_'*20]
def setup():size(W,W)
def draw():clear();loadPixels();[B(i%W,i/W)for i in range(W*W)];updatePixels()
def B(u,v):d=[dist(u,v,x,y)for x,y in p];pixels[u+v*W]=color(255*sin(min(d)+frameCount*.06))#つぶやきProcessing #dailycodingchallenge https://twitter.com/PCD_Tokyo/status/1247624245582200835 …pic.twitter.com/bhvivImLCz
4:17 AM - 9 Apr 2020
0 replies
11 retweets
83 likes
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.
