Loading design...

A beautiful geometric string crescent created with Python Turtle. Read the code below, copy it, and try it in your own Python environment.
from turtle import *
import math
import colorsys
bgcolor('black')
hideturtle()
tracer(50)
pensize(1)
REPEATS = 5
points = []
for i in range(700):
angle = (i / 700) * 2 * math.pi
x = 250 * math.cos(angle)
y = 250 * math.sin(angle)
points.append((x, y))
for r in range(REPEATS):
offset = r * (700 // REPEATS)
for i in range(700):
j = (i * 2) % 700
color(colorsys.hsv_to_rgb((i + offset) / 700, 1.0, 1.0))
up()
goto(points[i])
down()
goto(points[j])
done()