Superellipse








Examples of superellipses for a=1, b=0.75{displaystyle a=1, b=0.75}{displaystyle a=1, b=0.75}


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 a different overall shape.


In the Cartesian coordinate system, the set of all points (xy) on the curve satisfy the equation


|xa|n+|yb|n=1,{displaystyle left|{frac {x}{a}}right|^{n}!+left|{frac {y}{b}}right|^{n}!=1,}left|{frac {x}{a}}right|^{n}!+left|{frac {y}{b}}right|^{n}!=1,

where n, a and b are positive numbers, and the vertical bars | | around a number indicate the absolute value of the number.




Contents






  • 1 Specific cases


  • 2 Mathematical properties


  • 3 Generalizations


  • 4 History


  • 5 See also


  • 6 References


  • 7 External links





Specific cases


This formula defines a closed curve contained in the rectangle −ax ≤ +a and −b ≤ y ≤ +b. The parameters a and b are called the semi-diameters of the curve.





























0<n<1{displaystyle 0<n<1}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.





The superellipse with n = ​12, a = b = 1



n=1{displaystyle n=1}n=1
The curve is a parallelogram with corners (±a, 0) and (0, ±b).


1<n<2{displaystyle 1<n<2}1<n<2
The curve looks like a rhombus with those same corners but with convex (outwards-curved) sides.

The curvature increases without limit as one approaches its extreme points.





The superellipse with n = ​32, a = b = 1



n=2{displaystyle n=2}n=2
The curve is an ordinary ellipse (in particular, a circle if a = b).


n>2{displaystyle n>2}n>2
The curve looks superficially like a rectangle with rounded corners.

The curvature is zero at the points (±a, 0) and (0, ±b).






Squircle, the superellipse with n = 4, a = b = 1



If n < 2, the figure is also called a hypoellipse; if n > 2, a hyperellipse.


When n ≥ 1 and a = b, the superellipse is the boundary of a ball of R2 in the n-norm.


The extreme points of the superellipse are (±a, 0) and (0, ±b), and its four "corners" are (±sa, ±sb), where s=2−1/n{displaystyle s=2^{-1/n}}s=2^{-1/n} (sometimes called the "superness"[1]).



Mathematical properties


When n is a positive rational number p/q (in lowest terms), then each quadrant of the superellipse is a plane algebraic curve of order pq.[2] 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{displaystyle t}t having no geometric interpretation)


x(t)=±acos2n⁡ty(t)=±bsin2n⁡t}0≤t≤π2{displaystyle left.{begin{aligned}xleft(tright)&=pm acos ^{frac {2}{n}}t\yleft(tright)&=pm bsin ^{frac {2}{n}}tend{aligned}}right}qquad 0leq tleq {frac {pi }{2}}}{displaystyle left.{begin{aligned}xleft(tright)&=pm acos ^{frac {2}{n}}t\yleft(tright)&=pm bsin ^{frac {2}{n}}tend{aligned}}right}qquad 0leq tleq {frac {pi }{2}}}

where each ± can be chosen separately so that each value of t{displaystyle t}t gives four points on the curve. Equivalently, letting t{displaystyle t}t range over 0≤t<2π,{displaystyle 0leq t<2pi ,}{displaystyle 0leq t<2pi ,}


x(t)=|cos⁡t|2n⋅asgn⁡(cos⁡t)y(t)=|sin⁡t|2n⋅bsgn⁡(sin⁡t){displaystyle {begin{aligned}xleft(tright)&={|cos t|}^{frac {2}{n}}cdot aoperatorname {sgn} (cos t)\yleft(tright)&={|sin t|}^{frac {2}{n}}cdot boperatorname {sgn} (sin t)end{aligned}}}{displaystyle {begin{aligned}xleft(tright)&={|cos t|}^{frac {2}{n}}cdot aoperatorname {sgn}(cos t)\yleft(tright)&={|sin t|}^{frac {2}{n}}cdot boperatorname {sgn}(sin t)end{aligned}}}

where the sign function is


sgn⁡(w)={−1,w<00,w=0+1,w>0.{displaystyle operatorname {sgn} (w)={begin{cases}-1,&w<0\0,&w=0\+1,&w>0.end{cases}}}{displaystyle operatorname {sgn}(w)={begin{cases}-1,&w<0\0,&w=0\+1,&w>0.end{cases}}}

Here t{displaystyle t}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 y/x = (b/a)(tan t){displaystyle t)}t)2/n ≠ tan t.{displaystyle t.}t.


The area inside the superellipse can be expressed in terms of the gamma function, Γ(x), as


Area=4ab(Γ(1+1n))2Γ(1+2n).{displaystyle mathrm {Area} =4ab{frac {left(Gamma left(1+{tfrac {1}{n}}right)right)^{2}}{Gamma left(1+{tfrac {2}{n}}right)}}.}mathrm {Area} =4ab{frac {left(Gamma left(1+{tfrac {1}{n}}right)right)^{2}}{Gamma left(1+{tfrac {2}{n}}right)}}.

The pedal curve is relatively straightforward to compute. Specifically, the pedal of


|xa|n+|yb|n=1,{displaystyle left|{frac {x}{a}}right|^{n}!+left|{frac {y}{b}}right|^{n}!=1,}left|{frac {x}{a}}right|^{n}!+left|{frac {y}{b}}right|^{n}!=1,

is given in polar coordinates by[3]



(acos⁡θ)nn−1+(bsin⁡θ)nn−1=rnn−1.{displaystyle (acos theta )^{tfrac {n}{n-1}}+(bsin theta )^{tfrac {n}{n-1}}=r^{tfrac {n}{n-1}}.}(acos theta )^{tfrac {n}{n-1}}+(bsin theta )^{tfrac {n}{n-1}}=r^{tfrac {n}{n-1}}.



Generalizations




Variations of a superellipse with different exponents


The superellipse is further generalized as:


|xa|m+|yb|n=1;m,n>0.{displaystyle left|{frac {x}{a}}right|^{m}+left|{frac {y}{b}}right|^{n}=1;qquad m,n>0.}left|{frac {x}{a}}right|^{m}+left|{frac {y}{b}}right|^{n}=1;qquad m,n>0.

or


x(t)=|cos⁡t|2m⋅asgn⁡(cos⁡t)y(t)=|sin⁡t|2n⋅bsgn⁡(sin⁡t).{displaystyle {begin{aligned}xleft(tright)&={|cos t|}^{frac {2}{m}}cdot aoperatorname {sgn} (cos t)\yleft(tright)&={|sin t|}^{frac {2}{n}}cdot boperatorname {sgn} (sin t).end{aligned}}}{displaystyle {begin{aligned}xleft(tright)&={|cos t|}^{frac {2}{m}}cdot aoperatorname {sgn}(cos t)\yleft(tright)&={|sin t|}^{frac {2}{n}}cdot boperatorname {sgn}(sin t).end{aligned}}}

(Note that t{displaystyle t}t is not a physical angle of the figure, but just a parameter.)




History


The general Cartesian notation of the form comes from the French mathematician Gabriel 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 with n = log(1/2) / log (7/9) ≈ 2.758


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.[4] 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.[5] 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.[4] The superellipse was used for the shape of the 1968 Azteca Olympic Stadium, in Mexico City.


Waldo R. Tobler developed a map projection, the Tobler hyperelliptical projection, published in 1973,[6] 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.[7]



See also




  • Astroid, the superellipse with n = ​23 and a = b, is a hypocycloid with four cusps.

    • Deltoid curve, the hypocycloid of three cusps.



  • Squircle, the superellipse with n = 4 and a = b, looks like "The Four-Cornered Wheel."

    • Reuleaux triangle, "The Three-Cornered Wheel."



  • Superformula, a generalization of the superellipse.


  • Superquadrics and superellipsoids, the three-dimensional "relatives" of superellipses.


  • Superelliptic curve, equation of the form Yn = f(X).

  • Lp spaces



References





  1. ^ Donald Knuth: The METAFONTbook, p. 126


  2. ^ For a derivation of the algebraic equation in the case where n = 2/3, see p. 3 of http://xahlee.info/SpecialPlaneCurves_dir/Astroid_dir/astroid.pdf.


  3. ^ J. Edwards (1892). Differential Calculus. London: MacMillan and Co. p. 164..mw-parser-output cite.citation{font-style:inherit}.mw-parser-output .citation q{quotes:"""""""'""'"}.mw-parser-output .citation .cs1-lock-free a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .citation .cs1-lock-subscription a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration{color:#555}.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration span{border-bottom:1px dotted;cursor:help}.mw-parser-output .cs1-ws-icon a{background:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center}.mw-parser-output code.cs1-code{color:inherit;background:inherit;border:inherit;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;font-size:100%}.mw-parser-output .cs1-visible-error{font-size:100%}.mw-parser-output .cs1-maint{display:none;color:#33aa33;margin-left:0.3em}.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-format{font-size:95%}.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-right{padding-right:0.2em}


  4. ^ ab Gardner, 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, ISBN 978-0-394-72349-5


  5. ^ The Superellipse, in The Guide to Life, The Universe and Everything by BBC (27 June 2003)


  6. ^ 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, CiteSeerX 10.1.1.495.6424, doi:10.1029/JB078i011p01753.


  7. ^ http://iosdesign.ivomynttinen.com/





  • Barr, Alan H. (1983), Geometric Modeling and Fluid Dynamic Analysis of Swimming Spermatozoa, Rensselaer Polytechnic Institute (Ph.D. dissertation using superellipsoids)


  • Barr, Alan H. (1992), "Rigid Physically Based Superquadrics", in Kirk, David, Graphics Gems III, Academic Press, pp. 137–159 (code: 472–477), ISBN 978-0-12-409672-1


  • Gielis, Johan (2003), Inventing the Circle: The Geometry of Nature, Antwerp: Geniaal Press, ISBN 978-90-807756-1-9



External links








  • Sokolov, D.D. (2001) [1994], "Lamé curve", in Hazewinkel, Michiel, Encyclopedia of Mathematics, Springer Science+Business Media B.V. / Kluwer Academic Publishers, ISBN 978-1-55608-010-4


  • "Lamé Curve" at MathCurve.

  • Weisstein, Eric W. "Superellipse". MathWorld.


  • O'Connor, John J.; Robertson, Edmund F., "Lame Curves", MacTutor History of Mathematics archive, University of St Andrews.


  • "Super Ellipse" on 2dcurves.com

  • Superellipse Calculator & Template Generator

  • C code for fitting superellipses




Popular posts from this blog

鏡平學校

ꓛꓣだゔៀៅຸ໢ທຮ໕໒ ,ໂ'໥໓າ໼ឨឲ៵៭ៈゎゔit''䖳𥁄卿' ☨₤₨こゎもょの;ꜹꟚꞖꞵꟅꞛေၦေɯ,ɨɡ𛃵𛁹ޝ޳ޠ޾,ޤޒޯ޾𫝒𫠁သ𛅤チョ'サノބޘދ𛁐ᶿᶇᶀᶋᶠ㨑㽹⻮ꧬ꧹؍۩وَؠ㇕㇃㇪ ㇦㇋㇋ṜẰᵡᴠ 軌ᵕ搜۳ٰޗޮ޷ސޯ𫖾𫅀ल, ꙭ꙰ꚅꙁꚊꞻꝔ꟠Ꝭㄤﺟޱސꧨꧼ꧴ꧯꧽ꧲ꧯ'⽹⽭⾁⿞⼳⽋២៩ញណើꩯꩤ꩸ꩮᶻᶺᶧᶂ𫳲𫪭𬸄𫵰𬖩𬫣𬊉ၲ𛅬㕦䬺𫝌𫝼,,𫟖𫞽ហៅ஫㆔ాఆఅꙒꚞꙍ,Ꙟ꙱エ ,ポテ,フࢰࢯ𫟠𫞶 𫝤𫟠ﺕﹱﻜﻣ𪵕𪭸𪻆𪾩𫔷ġ,ŧآꞪ꟥,ꞔꝻ♚☹⛵𛀌ꬷꭞȄƁƪƬșƦǙǗdžƝǯǧⱦⱰꓕꓢႋ神 ဴ၀க௭எ௫ឫោ ' េㇷㇴㇼ神ㇸㇲㇽㇴㇼㇻㇸ'ㇸㇿㇸㇹㇰㆣꓚꓤ₡₧ ㄨㄟ㄂ㄖㄎ໗ツڒذ₶।ऩछएोञयूटक़कयँृी,冬'𛅢𛅥ㇱㇵㇶ𥄥𦒽𠣧𠊓𧢖𥞘𩔋цѰㄠſtʯʭɿʆʗʍʩɷɛ,əʏダヵㄐㄘR{gỚṖḺờṠṫảḙḭᴮᵏᴘᵀᵷᵕᴜᴏᵾq﮲ﲿﴽﭙ軌ﰬﶚﶧ﫲Ҝжюїкӈㇴffצּ﬘﭅﬈軌'ffistfflſtffतभफɳɰʊɲʎ𛁱𛁖𛁮𛀉 𛂯𛀞నఋŀŲ 𫟲𫠖𫞺ຆຆ ໹້໕໗ๆทԊꧢꧠ꧰ꓱ⿝⼑ŎḬẃẖỐẅ ,ờỰỈỗﮊDžȩꭏꭎꬻ꭮ꬿꭖꭥꭅ㇭神 ⾈ꓵꓑ⺄㄄ㄪㄙㄅㄇstA۵䞽ॶ𫞑𫝄㇉㇇゜軌𩜛𩳠Jﻺ‚Üမ႕ႌႊၐၸဓၞၞၡ៸wyvtᶎᶪᶹစဎ꣡꣰꣢꣤ٗ؋لㇳㇾㇻㇱ㆐㆔,,㆟Ⱶヤマފ޼ޝަݿݞݠݷݐ',ݘ,ݪݙݵ𬝉𬜁𫝨𫞘くせぉて¼óû×ó£…𛅑הㄙくԗԀ5606神45,神796'𪤻𫞧ꓐ㄁ㄘɥɺꓵꓲ3''7034׉ⱦⱠˆ“𫝋ȍ,ꩲ軌꩷ꩶꩧꩫఞ۔فڱێظペサ神ナᴦᵑ47 9238їﻂ䐊䔉㠸﬎ffiﬣ,לּᴷᴦᵛᵽ,ᴨᵤ ᵸᵥᴗᵈꚏꚉꚟ⻆rtǟƴ𬎎

Why https connections are so slow when debugging (stepping over) in Java?