import turtle
import math

t=turtle.Turtle()
t.speed(0)
t.color("red")
turtle.bgcolor("black")

def c(n):
    x= 20* math.sin(n)**3
    y = 16*math.cos(n) -5*\
        math.cos(2*n) -2*math.cos(3*n) -\
        math.cos(4*n)
    return x,y
t.penup()
for i in range(15):
    t.goto(0,0)
    t.pendown()
    for n in range(0,100,2):
        x,y = c(n/10)
        t.goto(x*i,y*i)
    t.penup()

t.hideturtle()
turtle.done()