Jump to content

Superellipse

From Wikipedia, the free encyclopedia
(Redirected fromRounded rectangle)

Examples of superellipses for

Asuperellipse,also known as aLamé curveafterGabriel Lamé,is a closed curve resembling theellipse,retaining the geometric features ofsemi-major axisandsemi-minor axis,and symmetry about them, but defined by an equation that allows for various shapes between a rectangle and an ellipse.

In two dimensionalCartesian coordinate system,a superellipse is defined as the set of all pointson the curve that satisfy the equationwhereandare positive numbers referred to assemi-diametersorsemi-axesof the superellipse, andis a positive parameter that defines the shape. When,the superellipse is an ordinary ellipse. For,the shape is more rectangular with rounded corners, and for,it is more pointed.[1][2][3]


In thepolar coordinate system,the superellipse equation is (the set of all pointson the curve satisfy the equation):

Specific cases

[edit]

This formula defines aclosed curvecontained in therectangleax≤ +aandby≤ +b.The parametersandare the semi-diameters or semi-axes of the curve. The overall shape of the curve is determined by the value of the exponent,as shown in the following table:

The superellipse looks like a four-armed star withconcave(inwards-curved) sides.
For,in particular, each of the four arcs is a segment of aparabola.
Anastroidis the special case,
The superellipse withn=12,a=b= 1
The curve is arhombuswith corners () and ().
The curve looks like a rhombus with the same corners but withconvex(outwards-curved) sides.
Thecurvatureincreases withoutlimitas one approaches its extreme points.
The superellipse withn=32,a=b= 1
The curve is an ordinaryellipse(in particular, acircleif).
The curve looks superficially like arectanglewith rounded corners.
The curvature is zero at the points () and ().
Squircle,the superellipse withn= 4,a=b= 1

If,the figure is also called ahypoellipse;if,ahyperellipse.Whenand,the superellipse is the boundary of aballofin the-norm.The extreme points of the superellipse are () and (), and its four "corners" are (,), where(sometimes called the "superness"[4]).

Mathematical properties

[edit]

Whennis a positiverational number(in lowest terms), then each quadrant of the superellipse is aplane algebraic curveof order.[5]In particular, whenandnis an even integer, then it is aFermat curveof degreen.In that case it is non-singular, but in general it will besingular.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 theparametric equations(with parameterhaving no elementary geometric interpretation)where eachcan be chosen separately so that each value ofgives four points on the curve. Equivalently, lettingrange overwhere thesign functionisHereis not the angle between the positive horizontal axis and the ray from the origin to the point, since the tangent of this angle equalswhile in the parametric expressions

Area

[edit]

Theareainside the superellipse can be expressed in terms of thegamma functionasor in terms of thebeta functionas

[6]

Perimeter

[edit]

Theperimeterof a superellipse, like that of anellipse,does not admitclosed-form solutionpurely usingelementary functions.Exact solutions for the perimeter of a superellipse exist usinginfinite summations;[7]these could be truncated to obtain approximate solutions.Numerical integrationis another option to obtain perimeter estimates at arbitrary precision.

A closed-form approximation obtained viasymbolic regressionis 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) is stretched such that the first quadrant (e.g.,,) is an arc fromto,with.Then, the arc length of the superellipse within that single quadrant is approximated as the following function ofand:[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,and can be used to efficiently estimate the total perimeter of a superellipse.

Pedal curve

[edit]

Thepedal curveis relatively straightforward to compute. Specifically, the pedal ofis given inpolar coordinatesby[9]

Generalizations

[edit]

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

[edit]

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]

  • Asuperellipsoidextends 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 pointsthat satisfy the equation:whereandare positive numbers referred to as the semi-axes of the superellipsoid, andis a positive parameter that defines the shape.[6]
  • Ahyperellipsoidis the-dimensional analogue of anellipsoid(and by extension, a superellipsoid). It is defined as the set of all pointsthat satisfy the equation:whereare positive numbers referred to as the semi-axes of the hyperellipsoid, andis a positive parameter that defines the shape.[11]

Different exponents

[edit]
Variations of a superellipse with different exponents

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

For two-dimentional case the equation iswhereeither equals to or differs from.If,it is the Lamé's superellipses. If,the curve possesses more flexibility of behavior, and is better possible fit to describe some experimental information.[11]

National Centre for the Performing Arts

For the three-dimensional case, three different positive powers,andcan be used in the equation.If,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,and the semi-diameters,represents the structure of the National Centre for the Performing Arts in China.[11]

In the general–dimensional case, the equation is,where In general,may differ from each other. It is the superellipsoid only if.[11]

[edit]

Superquadricsare 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,hyperspheresalso 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

[edit]

Anisotropicscaling 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

[edit]

The general Cartesian notation of the form comes from the French mathematicianGabriel Lamé(1795–1870), who generalized the equation for the ellipse.

The outer outlines of the letters 'o' and 'O' in Zapf's Melior typeface are described by superellipses withn=log(1/2) / log (7/9)≈ 2.758

Hermann Zapf'stypefaceMelior,published in 1952, uses superellipses for letters such aso.Thirty years laterDonald Knuthwould build the ability to choose between true ellipses and superellipses (both approximated bycubic splines) into hisComputer Moderntype family.

The central fountain of Sergels Torg is outlined by a superellipse withn= 2.5 anda/b= 6/5.

The superellipse was named by theDanishpoet and scientistPiet Hein(1905–1996) though he did not discover it as it is sometimes claimed. In 1959, city planners inStockholm,Swedenannounced a design challenge for aroundaboutin their city squareSergels Torg.Piet Hein's winning proposal was based on a superellipse withn= 2.5 anda/b= 6/5.[15]As he explained it:

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.

Sergels Torg was completed in 1967. Meanwhile, Piet Hein went on to use the superellipse in other artifacts, such as beds, dishes, tables, etc.[16]By rotating a superellipse around the longest axis, he created thesuperegg,a solid egg-like shape that could stand upright on a flat surface, and was marketed as anovelty toy.

In 1968, when negotiators inParisfor theVietnam Warcould not agree on the shape of the negotiating table, Balinski,Kieron Underwoodand Holt suggested a superelliptical table in a letter to theNew York Times.[15]The superellipse was used for the shape of the 1968Azteca Olympic Stadium,inMexico City.

The second floor of the originalWorld Trade Centerin New York City consisted of a large, superellipse-shaped overhanging balcony.

Waldo R. Toblerdeveloped amap projection,theTobler hyperelliptical projection,published in 1973,[17]in which themeridiansare arcs of superellipses.

The logo for news companyThe Localconsists of a tilted superellipse matching the proportions of Sergels Torg. Three connected superellipses are used in the logo of thePittsburgh Steelers.

In computing, mobile operating systemiOSuses a superellipse curve for app icons, replacing therounded cornersstyle used up to version 6.[18]

See also

[edit]

References

[edit]
  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 (15 October 2015)."Capturing spiral radial growth of conifers using the superellipse to model tree-ring geometric shape".Frontiers in Plant Science.6:856.doi:10.3389/fpls.2015.00856.ISSN1664-462X.PMC4606055.PMID26528316.
  2. ^Barr (1981)."Superquadrics and Angle-Preserving Transformations".IEEE Computer Graphics and Applications.1(1): 11–23.doi:10.1109/MCG.1981.1673799.ISSN1558-1756.S2CID9389947.
  3. ^Liu, Weixiao; Wu, Yuwei; Ruan, Sipu; Chirik gian, Gregory S. (2022)."Robust and Accurate Superquadric Recovery: A Probabilistic Approach".2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).pp. 2666–2675.arXiv:2111.14517.doi:10.1109/CVPR52688.2022.00270.ISBN978-1-6654-6946-3.S2CID244715106.
  4. ^Donald Knuth:The METAFONTbook,p. 126
  5. ^"Astroid"(PDF).Xah Code.Retrieved14 March2023.
  6. ^ab"Ellipsoids in Higher Dimensions".analyticphysics.Retrieved19 June2024.
  7. ^"Superellipse (Lame curve)"(PDF).Archived fromthe original(PDF)on 31 March 2022.Retrieved9 November2023.
  8. ^Sharpe, Peter."AeroSandbox".GitHub.Retrieved9 November2023.
  9. ^J. Edwards (1892).Differential Calculus.London: MacMillan and Co. pp.164.
  10. ^Boult, Terrance E.; Gross, Ari D. (19 February 1988)."Recovery of Superquadrics from 3-D Information".In Casasent, David P.; Hall, Ernest L. (eds.).Intelligent Robots and Computer Vision VI.SPIE Proceedings. Vol. 0848. SPIE. p. 358.Bibcode:1988SPIE..848..358B.doi:10.1117/12.942759.
  11. ^abcdNi, B. Y.; Elishakoff, I.; Jiang, C.; Fu, C. M.; Han, X. (1 November 2016)."Generalization of the super ellipsoid concept and its application in mechanics".Applied Mathematical Modelling.40(21): 9427–9444.doi:10.1016/j.apm.2016.06.011.ISSN0307-904X.
  12. ^Cheng, Xinyu; Li, Chengbo; Peng, Yixue; Zhao, Chuang (17 April 2021)."Discrete element simulation of super-ellipse systems".Granular Matter.23(2): 50.doi:10.1007/s10035-021-01107-4.ISSN1434-7636.
  13. ^"SuperQuadrics - Applications".cs.mcgill.ca.Retrieved18 June2024.
  14. ^Land, Richard; Foley, James D.; Dam, Andries Van (1984)."Fundamentals of Interactive Computer Graphics".Leonardo.17(1): 59.doi:10.2307/1574879.ISSN0024-094X.JSTOR1574879.
  15. ^abGardner, Martin(1977),"Piet Hein's Superellipse",Mathematical Carnival. A New Round-Up of Tantalizers and Puzzles from Scientific American,New York:Vintage Press,pp.240–254,ISBN978-0-394-72349-5
  16. ^The Superellipse,inThe Guide to Life, The Universe and EverythingbyBBC(27 June 2003)
  17. ^Tobler, Waldo (1973), "The hyperelliptical and other new pseudocylindrical equal area map projections",Journal of Geophysical Research,78(11): 1753–1759,Bibcode:1973JGR....78.1753T,CiteSeerX10.1.1.495.6424,doi:10.1029/JB078i011p01753.
  18. ^Mynttinen, Ivo."The iOS Design Guidelines".
[edit]