Loading design...

A beautiful geometric rainbow color wheel / spectral pinwheel created with Python Turtle. Read the code below, copy it, and try it in your own Python environment.
from turtle import *
import colorsys as cs
tracer(100)
bgcolor('black')
pensize(2)
hideturtle()
h = 0.6
for i in range(900):
c = cs.hsv_to_rgb(h, 1, 1)
color(c)
goto(0, 0)
forward(20 - i*0.2)
left(100)
forward(10 - i*0.09)
left(100)
h = (h + 0.003) % 1
done()