amazing python turtle graphics patterns


import turtle as t
import colorsys as c
t.speed(0)
o=0.0
t.width(20)
t.setup(1537,865)
t.tracer(10)
t.bgcolor('black')
for i in range(56329):
      color=c.hsv_to_rgb(o,1,1)
      o+=0.009
      t.pencolor(color)
      t.fd(i)
      t.rt(200)
      t.fd(i)
      t.rt(120)
      t.circle(i,180)
      t.fd(i)
      t.lt(90)
      t.fd(i)
      t.rt(200)
      t.bk(i)
      t.rt(300)
t.done()

Comments

Popular posts from this blog

free fire logo || python turtle graphics code

python turtle animation 15

python turtle animation (3)