animation


import turtle as t
t.bgcolor('black')
color=('yellow','red')
t.setup(1537,865)
t.width(30)
t.tracer(50)
for i in range(3400):
      t.pencolor(color[i%2])
      t.begin_fill()
      t.fd(i)
      #subhanker codes
      #subhanker codes
      t.rt(180)
      #subhanker codes
      #subhanker codes
      t.bk(i)
      #subhanker codes
      #subhanker codes
      t.rt(90)
      #subhanker codes
      #subhanker codes
      t.fd(i)
      #subhanker codes
      #subhanker codes
      t.rt(270)
      #subhanker codes
      #subhanker codes
      t.end_fill()
      #subhanker codes
      #subhanker codes
      t.fd(i)
      #subhanker codes
      #subhanker codes
      t.circle(120,90)
      #subhanker codes
      t.fd(i)
      #subhanker codes
      t.rt(90)
      #subhanker codes
      t.circle(45,90)
      #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)