Superformula

From Wikipedia, the free encyclopedia

Some superformula samples: a=b=1; m, n1, n2 and n3 are shows in picture.
Some superformula samples: a=b=1; m, n1, n2 and n3 are shows in picture.

The superformula is a generalization of the superellipse and was first proposed by Johan Gielis.

Gielis suggested that the formula can be used to describe many complex shapes and curves that are found in nature. Others point out that the same can be said about many formulas with a sufficient number of parameters.

In polar coordinates, with r the radius and φ the angle, the superformula is:

r\left(\phi\right) =
\left[
        \left|
                \frac{\cos\left(\frac{m\phi}{4}\right)}{a}
        \right| ^{n_{2}}
+
        \left|
                \frac{\sin\left(\frac{m\phi}{4}\right)}{b}
        \right| ^{n_{3}}
\right] ^{-\frac{1}{n_{1}}}

The formula appeared in a work by Gielis. It was obtained generalizing the superellipse, named and popularized by Piet Hein, a Danish mathematician.

[edit] Extension to higher dimensions

It is possible to extend the formula to 3, 4, or n dimensions, by means of spherical product of superformulas. For example, the 3D parametric surface is obtained multiplying two superformulas S1 and S2. The coordinates are defined by the relations:

 x \,=\, r_1(\theta)\cos(\theta)r_2(\phi)\cos(\phi)
 y \,=\, r_1(\theta)\sin(\theta)r_2(\phi)\cos(\phi)
 z \,=\, r_2(\phi)\sin(\phi)

where φ varies between -π/2 and π/2 (latitude) and θ between and π (longitude).

[edit] References