Skip to content

Heart #24

@heliannamari13-coder

Description

@heliannamari13-coder

import math
from turtle import*

def heart1(M):
return 15*math.sin(M)**3

def heart2(M):
return 12math.cos(M)-5
math.cos(2M)-2
math.cos(3M)-
math.cos(4
M)

speed (0.1)
bgcolor("black")

for i in range(500):
goto(heart1(i)*18, heart2(i)*18)
for j in range(1):
color("red")
goto (0,0)
done()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions