Loading design...

A beautiful mathematical rose curve created with Python Turtle. Read the code below, copy it, and try it in your own Python environment.
import math
from turtle import *
tracer(10)
bgcolor('black')
for i in range(900):
color('orange')
t = i/46
x = 25 * math.cos(5*t) * math.sin(t)
y = 25 * math.sin(5*t) * math.cos(t)
goto(x*10, y*10)
goto(0, 0)
done()