Python Turtle Graphic Design #10
Source code:
import turtle as t
import colorsys as cs
t.setup(640,640)
t.bgcolor('black')
t.tracer(100)
t.hideturtle()
h = 0
for i in range(360,0,-1):
t.begin_fill()
t.color(cs.hls_to_rgb(h,0.5,1))
h+=1/1.6180
t.circle(i/2)
t.end_fill()
t.lt(137.5)
t.done()
No comments:
Post a Comment