new python turtle graphics source codes


import turtle as t
import colorsys as c
t.tracer(20)
t.bgcolor('black')
t.setup(1537,865)
o=0.0
for i in range(2000):
    o+=0.01
    color=c.hsv_to_rgb(o,1,1)
    t.pencolor(color)
    t.fd(i)
    t.rt(90.1)
    t.fd(i)
    t.rt(90)
    t.fd(i)
    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)