creative animation


import turtle as t
t.tracer(20)
t.setup(1537,865)
#subhanker codes
t.width(6)
color=('red','blue')
t.bgcolor('black')
for i in range(3000):
        t.pencolor(color[i%2])
        t.fd(i)
        t.rt(90)
        t.fd(i)
        t.rt(270)
        t.fd(i)
        t.circle(i,90)
        t.bk(i)
        t.lt(90)
t.done()

Comments

Popular posts from this blog

free fire logo || python turtle graphics code

python turtle animation 15

python turtle animation (3)