new patterns of python turtle graphics


import turtle as t
t.width(2)
t.tracer(10)
t.setup(1537,865)
t.bgcolor('black')
t.pencolor('purple')
for i in range(2000):
         t.fillcolor('red')
         t.begin_fill()
         t.fd(i)
         t.rt(300)
         t.fd(i)
         t.rt(120)
         t.circle(20,90)
         t.fd(i)
         t.end_fill()
         t.rt(90)
t.done()

Comments

Popular posts from this blog

free fire logo || python turtle graphics code

python turtle animation 15

python turtle animation (3)