import math
import turtle

def xt(t):
    return 16 * math.sin(t) ** 3

def yt(t):
    return 13 * math.cos(t) - 5 * math.cos(2 * t) - 2 * math.cos(3 * t) - math.cos(4 * t)

# Set up the screen and turtle
screen = turtle.Screen()
screen.colormode(255)
screen.bgcolor(0, 0, 0)

t = turtle.Turtle()
t.speed(0)  # Set to the fastest speed
t.hideturtle()

# Draw the shape
for i in range(2550):
    t.goto((xt(i) * 20, yt(i) * 20))
    t.pencolor((255 - i) % 255, i % 255, (255 + i) // 2 % 255)

turtle.done()  # End the drawing
