Loading design...

A beautiful rotational parallelogram rosette created with Python Turtle. Read the code below, copy it, and try it in your own Python environment.
from turtle import *
import colorsys
speed(0)
bgcolor('black')
pensize(2)
num = 36
angle = 360 / num
for i in range(num):
h = i / num
color(colorsys.hsv_to_rgb(h, 1, 1))
penup()
goto(0, 0)
pendown()
setheading(i * angle)
begin_fill()
forward(150)
right(60)
forward(50)
right(120)
forward(50)
right(60)
forward(150)
end_fill()
done()