Loading design...

A beautiful interlocking geometric star created with Python Turtle. Read the code below, copy it, and try it in your own Python environment.
from turtle import *
import colorsys
tracer(2)
bgcolor('black')
hideturtle()
pensize(3)
h = 0.5
for i in range(240):
color(colorsys.hsv_to_rgb(h, 1, 1))
left(45)
forward(i * 0.2)
right(300)
forward(i * 0.2)
right(135)
forward(i)
backward(i * 1.8)
right(30)
h += 1/3
done()