Home :: Examples :: Deltoid

Deltoid

Deltoid is a hypocycloid of three cusps.

Deltoid can be represented by the following parametric equations:

To draw function Deltoid use the folowing script:

# Example
# 2D. Deltoid

# z must be zero
z = 0

# t-parameter
tmin = 0
tmax = 2*pi

# Constant
a = 2

# Calculations
x = 2*a * cos(t) + a * cos(2*t)
y = 2*a * sin(t) - a * sin(2*t)