new python turtle graphics codes
import turtle as t
import colorsys as c
t.bgcolor('black')
t.width(20)
t.tracer(20)
o=0.0
t.setpos(-240,200)
t.setup(1537,865)
for i in range(27500):
o+=0.009
color=c.hsv_to_rgb(o,1,1)
t.pencolor(color)
t.fd(502)
t.rt(109)
t.done()
Comments
Post a Comment