amazing pattern


import turtle as t
t.tracer(20)
t.width(3)
#subhanker codes
t.setup(1537,865)
t.bgcolor('black')
color=('red','blue','green', 'gold')
for i in range(1450):
    t.pencolor(color[i%4])
    t.fd(i)
    t.rt(90)
    t.fd(i)
    t.rt(90)
    t.circle(i,90)
    t.fd(i)
    t.rt(180)
t.done()

Comments

Popular posts from this blog

free fire logo || python turtle graphics code

python turtle animation 15

python turtle animation (3)