Superellipse
Template:Short description Script error: No such module "Unsubst".
A superellipse, also known as a Lamé curve after Gabriel Lamé, is a closed curve resembling the ellipse, retaining the geometric features of semi-major axis and semi-minor axis, and symmetry about them, but defined by an equation that allows for various shapes between a rectangle and an ellipse.
In two dimensional Cartesian coordinate system, a superellipse is defined as the set of all points (x, y)Script error: No such module "Check for unknown parameters". on the curve that satisfy the equation where Template:Mvar and Template:Mvar are positive numbers referred to as semi-diameters or semi-axes of the superellipse, and Template:Mvar is a positive parameter that defines the shape. When n = 2Script error: No such module "Check for unknown parameters"., the superellipse is an ordinary ellipse. For n > 2Script error: No such module "Check for unknown parameters"., the shape is more rectangular with rounded corners, and for 0 < n < 2Script error: No such module "Check for unknown parameters"., it is more pointed.[1][2][3]
In the polar coordinate system, the superellipse equation is (the set of all points (r, θ)Script error: No such module "Check for unknown parameters". on the curve satisfy the equation):
Specific cases
This formula defines a closed curve contained in the rectangle −a ≤ x ≤ +aScript error: No such module "Check for unknown parameters". and −b ≤ y ≤ +bScript error: No such module "Check for unknown parameters".. The parameters Template:Mvar and Template:Mvar are the semi-diameters or semi-axes of the curve. The overall shape of the curve is determined by the value of the exponent Template:Mvar, as shown in the following table:
| 0 < n < 1Script error: No such module "Check for unknown parameters". | The superellipse looks like a four-armed star with concave (inwards-curved) sides. For n = Template:SfracScript error: No such module "Check for unknown parameters"., in particular, each of the four arcs is a segment of a parabola. An astroid is the special case a = bScript error: No such module "Check for unknown parameters"., n = Template:SfracScript error: No such module "Check for unknown parameters". |
|
| n = 1Script error: No such module "Check for unknown parameters". | The curve is a rhombus with corners (±a, 0)Script error: No such module "Check for unknown parameters". and (0, ±b)Script error: No such module "Check for unknown parameters".. | |
| 1 < n < 2Script error: No such module "Check for unknown parameters". | The curve looks like a rhombus with the same corners but with convex (outwards-curved) sides. The curvature increases without limit as one approaches its extreme points. |
|
| n = 2Script error: No such module "Check for unknown parameters". | The curve is an ordinary ellipse (in particular, a circle if a = bScript error: No such module "Check for unknown parameters".). | |
| n > 2Script error: No such module "Check for unknown parameters". | The curve looks superficially like a rectangle with rounded corners. The curvature is zero at the points (±a, 0)Script error: No such module "Check for unknown parameters". and (0, ±b)Script error: No such module "Check for unknown parameters".. |
CSS defines a function superellipse(K) where n = 2KScript error: No such module "Check for unknown parameters"., such that cases with K < 0Script error: No such module "Check for unknown parameters". are concave, K = 0Script error: No such module "Check for unknown parameters". defines a rhombus, K > 0Script error: No such module "Check for unknown parameters". are convex, and K = 1Script error: No such module "Check for unknown parameters". defines an ellipse.
If n < 2Script error: No such module "Check for unknown parameters"., the figure is also called a hypoellipse; if n > 2Script error: No such module "Check for unknown parameters"., a hyperellipse. When n ≥ 1Script error: No such module "Check for unknown parameters". and a = bScript error: No such module "Check for unknown parameters"., the superellipse is the boundary of a ball of ℝ2Script error: No such module "Check for unknown parameters". in the [[norm (mathematics)#p-norm|Template:Mvar-norm]]. The extreme points of the superellipse are (±a, 0)Script error: No such module "Check for unknown parameters". and (0, ±b)Script error: No such module "Check for unknown parameters"., and its four "corners" are (±sa, ±sb)Script error: No such module "Check for unknown parameters"., where s = 2−Template:SfracScript error: No such module "Check for unknown parameters". (sometimes called the "superness"[4]).
Mathematical properties
When Template:Mvar is a positive rational number Template:SfracScript error: No such module "Check for unknown parameters". (in lowest terms), then each quadrant of the superellipse is a plane algebraic curve of order Template:SfracScript error: No such module "Check for unknown parameters"..[5] In particular, when a = b = 1Script error: No such module "Check for unknown parameters". and Template:Mvar is an even integer, then it is a Fermat curve of degree Template:Mvar. In that case it is non-singular, but in general it will be singular. If the numerator is not even, then the curve is pieced together from portions of the same algebraic curve in different orientations.
The curve is given by the parametric equations (with parameter Template:Mvar having no elementary geometric interpretation) where each ±Script error: No such module "Check for unknown parameters". can be chosen separately so that each value of Template:Mvar gives four points on the curve. Equivalently, letting Template:Mvar range over 0 ≤ t < 2πScript error: No such module "Check for unknown parameters"., where the sign function is Here Template:Mvar is not the angle between the positive horizontal axis and the ray from the origin to the point, since the tangent of this angle equals Template:SfracScript error: No such module "Check for unknown parameters". while in the parametric expressions
Area
The area inside the superellipse can be expressed in terms of the gamma function as or in terms of the beta function as An alternative formula for area is
where is the arc length of the principal loop of the sinusoidal spiral .
Perimeter
The perimeter of a general superellipse, like that of an ellipse, cannot be expressed in terms of elementary functions. Exact solutions for the perimeter of a superellipse exist using infinite summations;[6] these could be truncated to obtain approximate solutions. Numerical integration is another option to obtain perimeter estimates at arbitrary precision.
A closed-form approximation obtained via symbolic regression is also an option that balances parsimony and accuracy. Consider a superellipse centered on the origin of a two-dimensional plane. Now, imagine that the superellipse (with shape parameter Template:Mvar) is stretched such that the first quadrant (where x > 0Script error: No such module "Check for unknown parameters"., y > 0Script error: No such module "Check for unknown parameters".) is an arc from (1, 0)Script error: No such module "Check for unknown parameters". to (0, h)Script error: No such module "Check for unknown parameters"., with h ≥ 1Script error: No such module "Check for unknown parameters".. Then, the arc length of the superellipse within that single quadrant is approximated as the following function of Template:Mvar and Template:Mvar:[7]
h + (((((n - 0.88487077) * h + 0.2588574 / h) ^ exp(n / -0.90069205)) + h) + 0.09919785) ^ (-1.4812293 / n)
This single-quadrant arc length approximation is accurate to within ±0.2% for across all values of Template:Mvar, and can be used to efficiently estimate the total perimeter of a superellipse.
Pedal curve
The pedal curve is relatively straightforward to compute. Specifically, the pedal of is given in polar coordinates by[8]
Generalizations
Script error: No such module "Unsubst".
The generalization of these shapes can involve several approaches. The generalizations of the superellipse in higher dimensions retain the fundamental mathematical structure of the superellipse while adapting it to different contexts and applications.
Higher dimensions
The generalizations of the superellipse in higher dimensions retain the fundamental mathematical structure of the superellipse while adapting it to different contexts and applications.[9]
- A superellipsoid extends the superellipse into three dimensions, creating shapes that vary between ellipsoids and rectangular solids with rounded edges. The superellipsoid is defined as the set of all points (x, y, z)Script error: No such module "Check for unknown parameters". that satisfy the equation
where Template:Mvar, Template:Mvar and Template:Mvar are positive numbers referred to as the semi-axes of the superellipsoid, and Template:Mvar is a positive parameter that defines the shape.
- A hyperellipsoid is the Template:Mvar-dimensional analogue of an ellipsoid (and by extension, a superellipsoid). It is defined as the set of all points (x1, x2, …, xd)Script error: No such module "Check for unknown parameters". that satisfy the equation
where a1, a2, …, adScript error: No such module "Check for unknown parameters". are positive numbers referred to as the semi-axes of the hyperellipsoid, and Template:Mvar is a positive parameter that defines the shape.[10]
Different exponents
Using different exponents for each term in the equation, allowing more flexibility in shape formation.[11]
For the two-dimensional case the equation is where Template:Mvar either equals or differs from Template:Mvar. If m = nScript error: No such module "Check for unknown parameters"., it is Lamé's superellipse. If m ≠ nScript error: No such module "Check for unknown parameters"., the curve possesses more flexibility of behavior, and is a better possible fit to describe some experimental information.[10]
For the three-dimensional case, three different positive powers Template:Mvar, Template:Mvar and Template:Mvar can be used in the equation If m = n = pScript error: No such module "Check for unknown parameters"., a superellipsoid is obtained. If any two or all three powers differ from each other, a solid is obtained that may possess more flexibility in representing real structural data than the super ellipsoid. A three-dimensional superellipsoid with m = n = 2.2Script error: No such module "Check for unknown parameters"., p = 2.4Script error: No such module "Check for unknown parameters". and the semi-axes a = b = 1Script error: No such module "Check for unknown parameters"., c = 0.5Script error: No such module "Check for unknown parameters". represents the structure of the National Centre for the Performing Arts in China.[10]
In the general Template:Mvar-dimensional case, the equation is where in general, n1, n2, …, nNScript error: No such module "Check for unknown parameters". may differ from each other. It is the hyperellipsoid only if all niScript error: No such module "Check for unknown parameters". are equal.[10]
Related shapes
Superquadrics are a family of shapes that include superellipsoids as a special case. They are used in computer graphics and geometric modeling to create complex, smooth shapes with easily adjustable parameters.[12] While not a direct generalization of superellipses, hyperspheres also share the concept of extending geometric shapes into higher dimensions. These related shapes demonstrate the versatility and broad applicability of the fundamental principles underlying superellipses.
Anisotropic scaling
Anisotropic scaling involves scaling the shape differently along different axes, providing additional control over the geometry. This approach can be applied to superellipses, superellipsoids, and their higher-dimensional analogues to produce a wider variety of forms and better fit specific requirements in applications such as computer graphics, structural design, and data visualization. For instance, anisotropic scaling allows the creation of shapes that can model real-world objects more accurately by adjusting the proportions along each axis independently.[13]
History
The general Cartesian notation of the form comes from the French mathematician Gabriel Lamé (1795–1870), who generalized the equation for the ellipse.
Hermann Zapf's typeface Melior, published in 1952, uses superellipses for letters such as o. Thirty years later Donald Knuth would build the ability to choose between true ellipses and superellipses (both approximated by cubic splines) into his Computer Modern type family.
The superellipse was named by the Danish poet and scientist Piet Hein (1905–1996) though he did not discover it as it is sometimes claimed. In 1959, city planners in Stockholm, Sweden announced a design challenge for a roundabout in their city square Sergels Torg. Piet Hein's winning proposal was based on a superellipse with n = 2.5Script error: No such module "Check for unknown parameters". and Template:Sfrac = Template:SfracScript error: No such module "Check for unknown parameters"..[14] As he explained it:
<templatestyles src="Template:Blockquote/styles.css" />
Man is the animal that draws lines which he himself then stumbles over. In the whole pattern of civilization there have been two tendencies, one toward straight lines and rectangular patterns and one toward circular lines. There are reasons, mechanical and psychological, for both tendencies. Things made with straight lines fit well together and save space. And we can move easily—physically or mentally—around things made with round lines. But we are in a straitjacket, having to accept one or the other, when often some intermediate form would be better. To draw something freehand—such as the patchwork traffic circle they tried in Stockholm—will not do. It isn't fixed, isn't definite like a circle or square. You don't know what it is. It isn't esthetically satisfying. The super-ellipse solved the problem. It is neither round nor rectangular, but in between. Yet it is fixed, it is definite—it has a unity.
Script error: No such module "Check for unknown parameters".
Sergels Torg was completed in 1967. Meanwhile, Piet Hein went on to use the superellipse in other artifacts, such as beds, dishes, tables, etc.[15] By rotating a superellipse around the longest axis, he created the superegg, a solid egg-like shape that could stand upright on a flat surface, and was marketed as a novelty toy.
In 1968, when negotiators in Paris for the Vietnam War could not agree on the shape of the negotiating table, Balinski, Kieron Underwood and Holt suggested a superelliptical table in a letter to the New York Times.[14] The superellipse was used for the shape of the 1968 Azteca Olympic Stadium, in Mexico City.
The second floor of the original World Trade Center in New York City consisted of a large, superellipse-shaped overhanging balcony.
Waldo R. Tobler developed a map projection, the Tobler hyperelliptical projection, published in 1973,[16] in which the meridians are arcs of superellipses.
The logo for news company The Local consists of a tilted superellipse matching the proportions of Sergels Torg. Three connected superellipses are used in the logo of the Pittsburgh Steelers.
In computing, mobile operating system iOS uses a superellipse curve for app icons, replacing the rounded corners style used up to version 6.[17]
See also
- Astroid, the superellipse with n = Template:SfracScript error: No such module "Check for unknown parameters". and a = bScript error: No such module "Check for unknown parameters"., is a hypocycloid with four cusps.
- Deltoid curve, the hypocycloid of three cusps.
- Squircle, the superellipse with n = 4Script error: No such module "Check for unknown parameters". and a = bScript error: No such module "Check for unknown parameters"., looks like "The Four-Cornered Wheel."
- Reuleaux triangle, "The Three-Cornered Wheel."
- Superformula, a generalization of the superellipse.
- Superquadrics: superellipsoids and supertoroids, the three-dimensional "relatives" of superellipses.
- Superelliptic curve, equation of the form Yn = f(X)Script error: No such module "Check for unknown parameters"..
- [[Lp space|Template:Mvar spaces]]
References
<templatestyles src="Reflist/styles.css" />
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Donald Knuth: The METAFONTbook, p. 126
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ a b c d Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "Citation/CS1".
- ↑ a b Script error: No such module "citation/CS1".
- ↑ The Superellipse, in The Guide to Life, The Universe and Everything by BBC (27 June 2003)
- ↑ Script error: No such module "citation/CS1".
- ↑ Script error: No such module "citation/CS1".
Script error: No such module "Check for unknown parameters".
External links
Script error: No such module "Side box".
- Script error: No such module "Template wrapper".
- "Lamé Curve" at MathCurve.
- Script error: No such module "Template wrapper".
- Script error: No such module "Template wrapper".
- "Super Ellipse" on 2dcurves.com
- Superellipse Calculator & Template Generator
- Superellipse fitting toolbox in MATLAB
- C code for fitting superellipses