Elysia Tools

Navigation

Math

Superellipse (Lamé Curve)

Change the exponent and semi-axes to see how a Lamé curve changes shape and area alongside an ellipse of the same size.

Open static visualization

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Overview

Fix the semi-axes and switch between n = 0.5, 1, 2 and 4. The four axis crossings stay in place while the curve cuts across the same diagonal at a different point. The dashed ellipse gives you a reference as the interior expands.

When does the curve become convex?

The Lamé curve is defined by |x/a|ⁿ + |y/b|ⁿ = 1 with n, a and b positive. The enclosed region is nonconvex below n = 1. At n = 1 the outline is a rhombus, and for 1 < n < 2 it is convex. At n = 2 it is an ellipse, becoming a circle when a = b. Larger exponents push the curve toward the sides of the bounding rectangle.

How to read the diagonal and area

At the marked point x/a and y/b are both q. Substitution gives 2qⁿ = 1, so q = 2^(−1/n). The area share is the enclosed area divided by 4ab. The page integrates the normalized outline numerically. The beta integral gives the exact ratio Γ(1 + 1/n)² / Γ(1 + 2/n).

How it works

  1. 1Use an exponent preset or drag n while keeping both axes fixed. Read q and the area share for each outline.
  2. 2Turn on the reference ellipse to compare two curves with the same axis crossings. Then change a or b and watch the coordinates of P.

Edge cases & common failures

  • The rectangle is a limit

    With any finite positive n, the corner (a, b) has left-hand side 2 in the implicit equation. Increasing n brings the curve closer to the corner.

  • Equal axes and n = 2

    The current curve and the dashed reference ellipse coincide. Toggle the reference off to see the solid outline alone.

Examples

1. Across the convexity boundary

How to use

Use the 0.5, 1 and 1.5 presets with equal axes.

Outcome

The curved sides change from inward-bowing to straight to outward-bowing. The area share at n = 1 is exactly 50%.

2. From circle to squircle

How to use

Keep a and b at 200, show the reference ellipse, and switch from n = 2 to n = 4.

Outcome

P moves toward the corner and the occupied share increases from 78.54% to 92.70%.

3. Stretch only one axis

How to use

Keep n = 4 and change the axes to a = 250 and b = 150.

Outcome

P moves to approximately (210.22, 126.13). The area share stays at 92.70%.

FAQ

Why does stretching the curve leave the area share unchanged?

The enclosed area and the bounding rectangle both scale by the same factor when you change a or b.

At a Glance

Interactive Preview

Superellipse (Lamé Curve)
Static preview of this visualization. Use the interactive panel above to explore it.

Verified Results

Typical Experiments and Results

Every parameter set and result below is a fixed output of this page's built-in model (each asserted before delivery) and reproduces directly: set the Parameters column in the interactive panel.

ScenarioParametersResult
Inward-curving sidesn = 0.5, a = b = 200q = 0.2500 · area share 16.67%
Rhombusn = 1, a = b = 200q = 0.5000 · area share 50.00%
Convex outlinen = 1.5, a = b = 200q = 0.6300 · area share 68.45%
Circlen = 2, a = b = 200q = 0.7071 · area share 78.54%
Quartic squirclen = 4, a = b = 200q = 0.8409 · area share 92.70%
Near-rectangular outlinen = 10, a = b = 200q = 0.9330 · area share 98.57%

Sources

References

Papers and datasets underlying this visualization - every formula, algorithm, and data anchor on the page traces back to the sources below.

  1. [1]

    N. T. Gridgeman (1970). Lamé Ovals. The Mathematical Gazette 54(387), 31–37.

    View source→ Introduction, Lamé ovals and the extension of the ellipse equation
  2. [2]

    Masaya Matsuura (2014). Asymptotic Behaviour of the Maximum Curvature of Lamé Curves. Journal for Geometry and Graphics 18(1), 45–59.

    View source→ Implicit equation and the limit of the Lamé curve as the exponent increases
  3. [3]

    Johan Gielis (2003). A generic geometric transformation that unifies a wide range of natural and abstract shapes. American Journal of Botany 90(3), 333–338.

    View source→ Eq. 1, the polar form of the superellipse before the generalization
  4. [4]

    Alan H. Barr (1981). Superquadrics and Angle-Preserving Transformations. IEEE Computer Graphics and Applications 1(1), 11–23.

    View source→ Superellipses as parametric primitives in the superquadric family
  5. [5]

    R. A. Askey and R. Roy. §5.12 Beta Function. NIST Digital Library of Mathematical Functions.

    View source→ Eq. 5.12.1, beta–gamma identity for the exact normalized area

Related

Related tools and workflows

Format Conversion

AsciiMath LaTeX MathML Equation Converter

Convert equations between AsciiMath, LaTeX and MathML: auto-detect the input format, produce canonical LaTeX, presentation MathML with an embedded TeX annotation, a best-effort AsciiMath back-translation, a screen-reader aria-label snippet (role=math), and a KaTeX HTML preview.

AI Tools

AI Math Solver/Photomath

Solve math problems from images using AI vision models with step-by-step explanations

Document Tools

PDF Formula Extractor (LaTeX / MathML / MathJax) with AMS Equation-Number Preservation

Detect and reconstruct embedded math formulas from vector PDFs: math-font recognition (CMMI/CMSY/CMEX, STIX, Cambria Math), Unicode math, super/subscripts and stacked fractions, AMS equation numbers ((2a)/(2b) subequations) preserved; outputs copyable LaTeX, presentation MathML (MathJax/KaTeX-compatible) and a downloadable .tex bundle.

Math & Numbers

Fibonacci Sequence Generator

Generate Fibonacci sequence with customizable start numbers, length, and output format. Includes golden ratio analysis and mathematical properties.

Next

More visualizations nearby

Cookie settings

Essential cookies keep the site running. Analytics and personalized ads are optional.

Cookie policy