amazing pattern


import turtle as t
t.bgcolor('black')
t.setup(1537,865)
t.tracer(200)
t.width(4)
#subhanker codes
color=('green','blue','gold','cyan','purple','brown')
for i in range(3000):
         t.pencolor(color[i%6])
         t.fd(i)
         t.rt(300)
         t.fd(i)
         t.stamp()
         t.circle(20)
         t.fd(i)
         t.rt(200)
         t.dot(10,color[i%6])
t.done()

Comments

Popular posts from this blog

free fire logo || python turtle graphics code

python turtle animation 15

python turtle animation (3)