crazy animation
import turtle as t
import colorsys as c
t.tracer(20)
t.bgcolor('black')
r=0.0
t.setup(1537,865)
for i in range(2000):
r+=0.01
color=c.hsv_to_rgb(r,1,1)
t.fillcolor(color)
t.begin_fill()
t.fd(i)
t.circle(i,90)
t.fd(i)
t.rt(270)
t.fd(i)
t.rt(90)
t.fd(i)
t.rt(271)
t.end_fill()
t.done()
Comments
Post a Comment