*You *can* put a square peg in a round hole.*

Shapes between circles and squares have proved invaluable to engineers and have also found their way onto our dinner tables. A plate in the shape of a `squircle’ is shown in this figure .

**The Equation of a Squircle**

An ellipse with centre at the origin and major and minor semi-axes and is described by the equation

In particular, if we get a circle of radius

The index 2 corresponds to the Euclidean or metric and is the distance of the point from the origin. We can control the shape by varying the value of the index (corresponding to the use of an -norm). In the following figure we plot the graph of

for and . For the curve bulges outwards from the circle, as shown here, and we get a supercircle.

The particular case ,

is often called a *squircle*. It is also known as Lamé’s special quartic.

The equation for a squircle in polar coordinates is easily found. Substituting and into (2) we get

Clearly ( is called the minor radius) and takes its maximum value (or major radius) for .

Taking a cue from the approximate form, we can construct curves with more oscillations by replacing the argument of the sine function by for larger . Curves with equation

for values are shown (first quadrant only) in the figure below (left panel).

It is a simple matter to scale the squircle. A nest of squircles is shown above (right panel).

**Some Applications**

The superellipse has some of the best aspects of both the ellipse and the rectangle. Just as the supercircle with index 4 is called the squircle, the superellipse with that index has been called the *rectellipse*.

Supercircles have been found to be useful in optics. The central spot in the diffusion pattern of a beam of light passing through a square aperture can be modelled by a squircle. Closer to home, squircular dinner plates hold more food for a given (minor) radius while they occupy the same space in a kitchen cupboard

One of the most notable applications of the superellipse was in the roundabout at Sergels torg in the heart of Stockholm. The challenge was to design the space to ensure efficient traffic flow within constraints imposed by the surrounding buildings. The architect was the renowned Danish innovator Piet Hein. An old image of the roundabout is shown in the figure below.