4. Ambiguous Rings Based on a Heart Curve

Requires a Wolfram Notebook System

Interact on desktop, mobile and cloud with the free Wolfram CDF Player or other Wolfram Language products.

Requires a Wolfram Notebook System

Edit on desktop, mobile and cloud with any Wolfram Language product.

This Demonstration further explores ambiguous rings.


An ambiguous ring is a three-dimensional space curve or set of space curves that can be viewed as a circle, a heart curve, a shape like a lemniscate or the letter S, depending on the viewpoint.

Such a ring or ring set can be defined as the intersection curve of a circular cylinder and a generalized cylinder over a heart curve such that the two cylinders cross at a right angle.

You can vary the radius and axial offset of and the axial rotation of .

For each case, closed curves are possible when 's cross section fits exactly inside ; click "A" or "B" for the two solutions.

A single ring with the same view properties (circle or heart) can be generated using "single ring cutoff angles" sliders and to control the range of the angular parameter in the parametric equation of the full ring set.


Contributed by: Erik Mahieu (May 2018)
Open content licensed under CC BY-NC-SA



The parametric equation of with radius inclined at an angle from the vertical is given by:


with parameters and .

The parametric equation of over a heart curve in the - plane and an angular offset of from the axis [2] (the sixth heart curve is used in this Demonstration) is given by:


To find the intersection, we put the corresponding coordinates equal to get three equations in four unknowns: .

Eliminating , and by solving the equations gives the parametric curve of the intersection, with as the only parameter.

This composite curve (ring set) can be split into two rings. Therefore, the parameter range for , from to , is divided into sections using the cutoff angles and .


[1] E. Chicurel-Uziel, "Single Equation without Inequalities to Represent a Composite Curve," Computer Aided Geometric Design, 21(1), 2004 pp. 23–42. doi:10.1016/j.cagd.2003.07.011.

[2] E. W. Weisstein. "Heart Curve" from MathWorld—A Wolfram Web Resource. mathworld.wolfram.com/HeartCurve.html (Wolfram MathWorld).

Feedback (field required)
Email (field required) Name
Occupation Organization
Note: Your message & contact information may be shared with the author of any specific Demonstration for which you give feedback.