amazing animation


import turtle as t
import colorsys as c
t.setup(1537,865)
t.bgcolor('black')
t.pencolor('black')
t.tracer(20)
#subhanker codes
t.width(6)
r=0
t.ht()
for i in range(2000):
      r+=0.01
      color=c.hsv_to_rgb(r,1,1)
      t.fd(i)
      t.fillcolor(color)
      t.begin_fill()
      t.fd(i)
      t.rt(58)
      t.setpos(0,0)
      t.fd(i)
      t.rt(100)
      t.fd(i)
      t.rt(199)
      t.end_fill()
t.done()

Comments

Popular posts from this blog

python turtle animation 16

python turtle animation 15

python turtle animation 12