ToolSphere
All Desmos art

Desmos Two Linked Hearts Equations

Two matching hearts overlap to make a linked Valentine design. Both complete outlines remain visible at their crossings; this is a flat drawing rather than an over-and-under chain illusion.

Two linked hearts drawn from its Desmos equations
2 equations, t from 0 to 1

The picture above is drawn from exactly these equations. Paste them into the first empty line of the Desmos graphing calculator; each line becomes its own curve.

How it is built

Equation 1 — left heart. A cubed sine sets the horizontal shape, while a sum of cosine terms shapes the lobes and tip. The negative horizontal offset moves this outline to the left without changing its size.

Equation 2 — right heart. The same curve uses a positive horizontal offset. Its matching height and width keep the pair balanced. The overlapping sides visually link the hearts, and separate colors help you follow each complete outline through the crossings.

Adjust the spacing. Change the constant at the start of each horizontal coordinate by equal amounts in opposite directions. Bring the centers closer for more overlap or move them apart to separate the hearts. Leave the trigonometric terms unchanged to preserve matching shapes.

Press Copy all equations, open the Desmos graphing calculator, click into the first empty expression line and paste: each line becomes its own curve. Every curve uses t from 0 to 1, which is Desmos's default, so there is nothing to set up. Choose colors separately in Desmos after pasting. Both curves use the default parameter interval and radians.

Make your own

Frequently asked questions

How do I draw two linked hearts in Desmos?

Paste both equations. They draw matching hearts shifted left and right so their outlines overlap.

Are the hearts woven over and under?

No. Both outlines are complete and visible at the crossings. This is an overlapping two-heart design without hidden segments.

Can I use the same color for both hearts?

Yes. Set the two expression colors alike in Desmos, or use contrasting colors to make each outline easier to follow.