simple python turtle graphics codes
import turtle as t
import colorsys as c
o=0.0
t.setup(1537,865)
t.width(3)
t.tracer(110)
t.bgcolor('black')
for i in range(56329):
color=c.hsv_to_rgb(o,1,1)
o+=0.0099
t.pencolor(color)
t.circle(i,90)
t.fd(i)
t.rt(270)
t.circle(i,270)
t.fd(i)
t.rt(180)
t.done()
Comments
Post a Comment