amazing animation
import turtle as t
import colorsys as c
t.bgcolor('black')
t.width(20)
t.tracer(20)
o=0.0
t.setup(1537,865)
for i in range(27500):
o+=0.009
color=c.hsv_to_rgb(o,1,1)
t.pencolor(color)
t.begin_fill()
t.fd(i)
t.rt(200)
t.fd(i)
t.circle(20,90)
t.fd(i)
t.rt(200)
t.end_fill()
t.done()
Comments
Post a Comment