Superellipse Explained

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)

on the curve that satisfy the equation\left|\frac\right|^n\!\! + \left|\frac\right|^n\! = 1,where

a

and

b

are positive numbers referred to as semi-diameters or semi-axes of the superellipse, and

n

is a positive parameter that defines the shape. When

n=2

, the superellipse is an ordinary ellipse. For

n>2

, the shape is more rectangular with rounded corners, and for

0<n<2

, it is more pointed.[1] [2] [3]

In the polar coordinate system, the superellipse equation is (the set of all points

(r,\theta)

on the curve satisfy the equation):r = \left(\left|\frac\right|^n\!\! + \left|\frac\right|^n\!\right)^\!.

Specific cases

This formula defines a closed curve contained in the rectangle and . The parameters

a

and

b

are the semi-diameters or semi-axes of the curve. The overall shape of the curve is determined by the value of the exponent

n

, as shown in the following table:

0<n<1

The superellipse looks like a four-armed star with concave (inwards-curved) sides.
For

n=1/2

, in particular, each of the four arcs is a segment of a parabola.
An astroid is the special case

a=b

,

n=2/3

n=1

The curve is a rhombus with corners (

\pma,0

) and (

0,\pmb

).

1<n<2

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=2

The curve is an ordinary ellipse (in particular, a circle if

a=b

).

n>2

The curve looks superficially like a rectangle with rounded corners.
The curvature is zero at the points (

\pma,0

) and (

0,\pmb

).

If

n<2

, the figure is also called a hypoellipse; if

n>2

, a hyperellipse. When

n\geq1

and

a=b

, the superellipse is the boundary of a ball of

\R2

in the

n

-norm. The extreme points of the superellipse are (

\pma,0

) and (

0,\pmb

), and its four "corners" are (

\pmsa

,

\pmsb

), where

s=2-1/n

(sometimes called the "superness"[4]).

Mathematical properties

p/q

(in lowest terms), then each quadrant of the superellipse is a plane algebraic curve of order

p/q

.[5] In particular, when

a=b=1

and n is an even integer, then it is a Fermat curve of degree n. 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

t

having no elementary geometric interpretation)\left.\begin x\left(t\right) &= \plusmn a\cos^ t \\ y\left(t\right) &= \plusmn b\sin^ t\end \right\} \qquad 0 \le t \le \frac where each

\pm

can be chosen separately so that each value of

t

gives four points on the curve. Equivalently, letting

t

range over

0\let<2\pi,

\begin x\left(t\right) &= ^ \cdot a \sgn(\cos t) \\ y\left(t\right) &= ^ \cdot b \sgn(\sin t)\endwhere the sign function is \sgn(w) = \begin -1, & w < 0 \\ 0, & w = 0 \\ +1, & w > 0 .\endHere

t

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

y/x

while in the parametric expressions \frac = \frac (\tan t)^ \neq \tan t.

Area

The area inside the superellipse can be expressed in terms of the gamma function as \mathrm = 4 a b \frac, or in terms of the beta function as

Area=

4ab\Beta\left(
n
1,
n
1
n

+1\right).

[6]

Perimeter

The perimeter of a superellipse, like that of an ellipse, does not admit closed-form solution purely using elementary functions. Exact solutions for the perimeter of a superellipse exist using infinite summations;[7] 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 2D plane. Now, imagine that the superellipse (with shape parameter

n

) is stretched such that the first quadrant (e.g.,

x>0

,

y>0

) is an arc from

(1,0)

to

(0,h)

, with

h\geq1

. Then, the arc length of the superellipse within that single quadrant is approximated as the following function of

h

and

n

:[8]

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

n

, 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\left|\frac\right|^n\! + \left|\frac\right|^n\! = 1,is given in polar coordinates by[9] (a \cos \theta)^+(b \sin \theta)^=r^.

Generalizations

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.[10]

(x,y,z)

that satisfy the equation:\left|\frac\right|^n\!\! + \left|\frac\right|^n\! + \left|\frac\right|^n\! = 1,where

a,b

and

c

are positive numbers referred to as the semi-axes of the superellipsoid, and

n

is a positive parameter that defines the shape.

d

-dimensional analogue of an ellipsoid (and by extension, a superellipsoid). It is defined as the set of all points

(x1,x2,\ldots,xd)

that satisfy the equation:\left|\frac\right|^n\!\! + \left|\frac\right|^n\! +\ldots+ \left|\frac\right|^n\! = 1,where

a1,a2,\ldots,ad

are positive numbers referred to as the semi-axes of the hyperellipsoid, and

n

is a positive parameter that defines the shape.[11]

Different Exponents

Using different exponents for each term in the equation, allowing more flexibility in shape formation.[12]

For two-dimentional case the equation is

\left|x
a

\right|m+\left|

y
b

\right|n=1;m,n>0,

where

m

either equals to or differs from

n

. If

m=n

, it is the Lamé's superellipses. If

mn

, the curve possesses more flexibility of behavior, and is better possible fit to describe some experimental information. For the three-dimensional case, three different positive powers

m

,

n

and

p

can be used in the equation
\left|x
a

\right|m+\left|

y
b

\right|n+\left|

z
c

\right|p=1

. If

m=n=p

, a super-ellipsoid 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 super-ellipsoid with

m=n=2.2

,

p=2.4

and the semi-diameters

a=b=1

,

c=0.5

represents the structure of the National Centre for the Performing Arts in China.

In the general

N

–dimensional case, the equation is
\left|x1
a1
N1
\right|

+\left|

x2
a2
N2
\right|

+\ldots+\left|

xN
aN
NN
\right|

=1

, where In general,

n1,n2,\ldots,nN

may differ from each other. It is the superellipsoid only if

n1=n2=\ldots=nN=n

.

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.[13] 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.[14]

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.5 and a/b = 6/5. As he explained it:

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. 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, 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.[16]

See also

External links

Notes and References

  1. Shi . Pei-Jian . Huang . Jian-Guo . Hui . Cang . Grissino-Mayer . Henri D. . Tardif . Jacques C. . Zhai . Li-Hong . Wang . Fu-Sheng . Li . Bai-Lian . 2015-10-15 . Capturing spiral radial growth of conifers using the superellipse to model tree-ring geometric shape . Frontiers in Plant Science . English . 6 . 856 . 10.3389/fpls.2015.00856 . free . 26528316 . 4606055 . 1664-462X.
  2. Barr . 1981 . Superquadrics and Angle-Preserving Transformations . IEEE Computer Graphics and Applications . 1 . 1 . 11–23 . 10.1109/MCG.1981.1673799 . 9389947 . 1558-1756.
  3. Book: Liu . Weixiao . Wu . Yuwei . Ruan . Sipu . Chirikjian . Gregory S. . 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) . Robust and Accurate Superquadric Recovery: A Probabilistic Approach . 2022 . https://ieeexplore.ieee.org/document/9878948 . 2666–2675 . 10.1109/CVPR52688.2022.00270. 2111.14517 . 978-1-6654-6946-3 . 244715106 .
  4. Donald Knuth: The METAFONTbook, p. 126
  5. Web site: Astroid . 14 March 2023 . Xah Code.
  6. Web site: Ellipsoids in Higher Dimensions . 2024-06-19 . analyticphysics.com.
  7. Web site: Superellipse (Lame curve) . . https://web.archive.org/web/20220331035622/https://fractional-calculus.com/super_ellipse.pdf . November 9, 2023 . 31 March 2022 .
  8. Web site: Sharpe . Peter . AeroSandbox . GitHub . 9 November 2023.
  9. Book: J. Edwards . Differential Calculus . MacMillan and Co.. London . 164. 1892 .
  10. Book: Boult . Terrance E. . Gross . Ari D. . Recovery of Superquadrics from 3-D Information . David P. . Ernest L. . Casasent . Hall . 1988-02-19 . Intelligent Robots and Computer Vision VI . http://dx.doi.org/10.1117/12.942759 . SPIE Proceedings . 0848 . 358 . SPIE . 10.1117/12.942759. 1988SPIE..848..358B .
  11. Ni . B. Y. . Elishakoff . I. . Jiang . C. . Fu . C. M. . Han . X. . 2016-11-01 . Generalization of the super ellipsoid concept and its application in mechanics . Applied Mathematical Modelling . 40 . 21 . 9427–9444 . 10.1016/j.apm.2016.06.011 . 0307-904X.
  12. Cheng . Xinyu . Li . Chengbo . Peng . Yixue . Zhao . Chuang . 2021-04-17 . Discrete element simulation of super-ellipse systems . Granular Matter . en . 23 . 2 . 50 . 10.1007/s10035-021-01107-4 . 1434-7636.
  13. Web site: SuperQuadrics - Applications . 2024-06-18 . www.cs.mcgill.ca.
  14. Land . Richard . Foley . James D. . Dam . Andries Van . 1984 . Fundamentals of Interactive Computer Graphics . Leonardo . 17 . 1 . 59 . 10.2307/1574879 . 1574879 . 0024-094X.
  15. https://www.bbc.co.uk/dna/h2g2/A1053884 The Superellipse
  16. Web site: Mynttinen . Ivo . The iOS Design Guidelines .