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
Post a Comment