Untitled

Anonymous
plain_text
03/01/2026 2:13 PM
500 B
10
Indexable
import math
from turtle import*
def headta(k):
return 12 * math.sin(k) ** 3
def heartb(k):
return 12 * math.cos(k) - 5 * \
math.cos(2 * k) - 2 * \
math.cos(3 * k) - \
math.cos(4 * k)
speed(0)
bgcolor("black")
for i in range(6000):
goto(hearta(i) * 20, heartb(i) *20)
for j in range(1):
color("red")
dor()# Draw a dot at the current position 
goto(0,0)
done()
Editor is loading...
Leave a Comment