colorful animation
import turtle as t
import colorsys as c
o=0.0
t.setup(1537,865)
t.width(7)
t.tracer(110)
t.bgcolor('black')
for i in range(56329):
color=c.hsv_to_rgb(o,1,1)
o+=0.0099
t.fillcolor('black')
t.pencolor(color)
t.begin_fill()
t.fd(i)
t.rt(90)
t.fd(i)
t.circle(30,90)
t.fd(i)
t.rt(200)
t.fd(i)
t.rt(99)
t.end_fill()
t.done()
Comments
Post a Comment