Python Turtle Graphic Design #8
Source code:
import turtle as t
import colorsys as cs
t.setup(640,640)
t.bgcolor('black')
t.tracer(100)
t.hideturtle()
N = 5
A = 360/N
t.lt(45)
for i in range(360,0,-1):
h = (i % N)/N
l = i/720
s = 0.5+ i / 720
t.color(cs.hls_to_rgb(h,l,s))
t.begin_fill()
t.circle(i/2,90)
t.lt(90)
t.circle(i/2,90)
t.end_fill()
t.lt(90+A-0.1)
t.done()