amazing animaton


import turtle as t
#subhanker codes
import colorsys as c
#subhanker codes
hue=0.0
#subhanker codes
t.width(8)
#subhanker codes
t.setup(1537,865)
#subhanker codes
t.tracer(20)
#subhanker codes
t.bgcolor('black')
for i in range(56329):
      #subhanker codes
      color=c.hsv_to_rgb(hue,1,1)
      t.pencolor('black')
      #subhanker codes
      t.begin_fill()
      #subhanker codes
      hue+=0.009
      t.fillcolor(color)
      #subhanker codes
      t.begin_fill()
      #subhanker codes
      t.fd(i)
      #subhanker codes
      t.rt(43)
      #subhanker codes
      t.fd(i)
      #subhanker codes
      t.rt(270)
      #subhanker codes
      t.end_fill()
      #subhanker codes
      t.fd(i)
      #subhanker codes
      t.rt(150)
      #subhanker codes
      t.fd(i)
      #subhanker codes
      t.rt(60)
      #subhanker codes
      t.fd(i)
      #subhanker codes
      t.lt(22)
      #subhanker codes
      t.fd(i)
      #subhanker codes
      t.rt(120)
      #subhanker codes
t.done()
#subhanker codes

Comments

Popular posts from this blog

free fire logo || python turtle graphics code

python turtle animation 15

python turtle animation (3)