mind blowing python turtle graphics patterns source codes


import turtle as t
t.tracer(20)
t.setup(1537,865)
t.width(4)
color=('red','purple','lime')
for i in range(2000):
    t.pencolor(color[i%3])
    t.bgcolor(color[i%2])
    t.fd(i)
    t.rt(200)
    t.fd(i)
    t.rt(90)
    t.circle(i,90)
t.fd(i) t.done()

Comments

Popular posts from this blog

python turtle animation 16

python turtle animation 11

free fire logo || python turtle graphics code