Loading design...

A beautiful mathematical rose / spirograph flower 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(50)
bgcolor('black')
pensize(1)
h = 0.0
for i in range(170):
c = cs.hsv_to_rgb(h, 1, 1)
h += 0.002
color(c)
circle(200 - i, 90)
left(90)
circle(200 - i, 90)
left(18)
done()