- Daily 2 -

I used to find this "chord arc" a pretty dull shape because I was only looking at single static examples. When combined or animated, they get interesting really quick.

(didn't feel an urge to explore color -- it's gray on gray and i call it a day)

· · Web · 2 · 0 · 0

This was also an attempt at figuring out how to make a decently-looped animation.

1. determine at which point you want the video to stop -- in this case, when the slower moving arc extreme reaches zero degrees
2. add an if-condition that, when met, prints the value of FRAME; and now you have the number of frames to output
3. "sbot-export-video --framenumber <frames> arcs.mp4" and you're done

Show thread

Arf, I posted an earlier version which actually demonstrated a glitch with the stroke miters (see how they snap right after the shape starts drawing), now this is the right one.



def draw():
for n in range(10):
angle1 = FRAME/2
if angle1 % 360 == 0:
print(f"Reached loop frame: {FRAME}")
angle2 = FRAME*5 % 360
arc(WIDTH/2, HEIGHT/2, n*25, angle1, angle2)

Show thread
Sign in to participate in the conversation

Welcome to, an instance for discussions around cultural freedom, experimental, new media art, net and computational culture, and things like that.