new animations
import turtle as t
import colorsys as c
r=0.0
t.width(9)
t.setup(1537,865)
t.tracer(20)
t.bgcolor('black')
for i in range(2000):
color=c.hsv_to_rgb(r,1,1)
r+=0.009
t.pencolor(color)
t.fd(i)
t.rt(90)
t.fd(i)
t.rt(270)
t.circle(i,270)
t.fd(i)
t.rt(90)
t.done()
Comments
Post a Comment