Squircle
   HOME

TheInfoList



OR:

A squircle is a
shape A shape or figure is a graphics, graphical representation of an object or its external boundary, outline, or external Surface (mathematics), surface, as opposed to other properties such as color, Surface texture, texture, or material type. A pl ...
intermediate between a
square In Euclidean geometry, a square is a regular quadrilateral, which means that it has four equal sides and four equal angles (90-degree angles, π/2 radian angles, or right angles). It can also be defined as a rectangle with two equal-length adj ...
and a
circle A circle is a shape consisting of all points in a plane that are at a given distance from a given point, the centre. Equivalently, it is the curve traced out by a point that moves in a plane so that its distance from a given point is const ...
. There are at least two definitions of "squircle" in use, the most common of which is based on the
superellipse 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 ...
. The word "squircle" is a
portmanteau A portmanteau word, or portmanteau (, ) is a blend of wordsdesign A design is a plan or specification for the construction of an object or system or for the implementation of an activity or process or the result of that plan or specification in the form of a prototype, product, or process. The verb ''to design'' ...
and
optics Optics is the branch of physics that studies the behaviour and properties of light, including its interactions with matter and the construction of instruments that use or detect it. Optics usually describes the behaviour of visible, ultraviole ...
.


Superellipse-based squircle

In a
Cartesian coordinate system A Cartesian coordinate system (, ) in a plane is a coordinate system that specifies each point uniquely by a pair of numerical coordinates, which are the signed distances to the point from two fixed perpendicular oriented lines, measured in t ...
, the
superellipse 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 ...
is defined by the equation \left, \frac\^n + \left, \frac\^n = 1, where and are the semi-major and semi-minor axes, and are the and coordinates of the centre of the ellipse, and is a positive number. The squircle is then defined as the superellipse with and . Its equation is: \left(x - a\right)^4 + \left(y - b\right)^4 = r^4 where is the minor
radius In classical geometry, a radius ( : radii) of a circle or sphere is any of the line segments from its center to its perimeter, and in more modern usage, it is also their length. The name comes from the latin ''radius'', meaning ray but also the ...
of the squircle. Compare this to the equation of a circle. When the squircle is centred at the origin, then , and it is called
Lamé's special quartic Lamé's special quartic, named after Gabriel Lamé, is the graph of the equation :x^4 + y^4 = r^4 where r > 0. It looks like a rounded square with "sides" of length 2r and centered on the origin. This curve is a squircle centered on the origi ...
. The
area Area is the quantity that expresses the extent of a region on the plane or on a curved surface. The area of a plane region or ''plane area'' refers to the area of a shape A shape or figure is a graphics, graphical representation of an obje ...
inside the squircle can be expressed in terms of the
gamma function In mathematics, the gamma function (represented by , the capital letter gamma from the Greek alphabet) is one commonly used extension of the factorial function to complex numbers. The gamma function is defined for all complex numbers except ...
as \mathrm = 4 r^2 \frac = \frac = \varpi \sqrt\, r^2 \approx 3.708149\, r^2, where is the minor radius of the squircle, and \varpi is the
lemniscate constant In mathematics, the lemniscate constant p. 199 is a transcendental mathematical constant that is the ratio of the perimeter of Bernoulli's lemniscate to its diameter, analogous to the definition of for the circle. Equivalently, the perimeter ...
.


''p''-norm notation

In terms of the -norm on , the squircle can be expressed as: \left\, \mathbf - \mathbf_c\right\, _p = r where , is the vector denoting the centre of the squircle, and . Effectively, this is still a "circle" of points at a distance from the centre, but distance is defined differently. For comparison, the usual circle is the case , whereas the square is given by the case (the
supremum norm In mathematical analysis, the uniform norm (or ) assigns to real- or complex-valued bounded functions defined on a set the non-negative number :\, f\, _\infty = \, f\, _ = \sup\left\. This norm is also called the , the , the , or, when the ...
), and a rotated square is given by (the
taxicab norm A taxicab geometry or a Manhattan geometry is a geometry whose usual distance function or metric of Euclidean geometry is replaced by a new metric in which the distance between two points is the sum of the absolute differences of their Cartesian co ...
). This allows a straightforward generalization to a spherical cube, or sphube, in , or hypersphubes in higher dimensions.


Fernández-Guasti squircle

Another squircle comes from work in optics. It may be called the Fernández-Guasti squircle, after one of its authors, to distinguish it from the superellipse-related squircle above. This kind of squircle, centred at the origin, can be defined by the equation: x^2 + y^2 - \frac x^2 y^2 = r^2 where is the minor radius of the squircle, is the squareness parameter, and and are in the interval . If , the equation is a circle; if , this is a square. This equation allows a smooth parametrization of the transition from a circle to a square, without involving
infinity Infinity is that which is boundless, endless, or larger than any natural number. It is often denoted by the infinity symbol . Since the time of the ancient Greeks, the philosophical nature of infinity was the subject of many discussions amo ...
.


Similar shapes

A shape similar to a squircle, called a ', may be generated by separating four quarters of a circle and connecting their loose ends with straight
lines Line most often refers to: * Line (geometry), object with zero thickness and curvature that stretches to infinity * Telephone line, a single-user circuit on a telephone communication system Line, lines, The Line, or LINE may also refer to: Arts ...
, or by separating the four sides of a square and connecting them with quarter-circles. Such a shape is very similar but not identical to the squircle. Although constructing a rounded square may be conceptually and physically simpler, the squircle has the simpler equation and can be generalised much more easily. One consequence of this is that the squircle and other superellipses can be scaled up or down quite easily. This is useful where, for example, one wishes to create nested squircles. Another similar shape is a '' truncated circle'', the boundary of the
intersection In mathematics, the intersection of two or more objects is another object consisting of everything that is contained in all of the objects simultaneously. For example, in Euclidean geometry, when two lines in a plane are not parallel, their i ...
of the regions enclosed by a square and by a concentric circle whose
diameter In geometry, a diameter of a circle is any straight line segment that passes through the center of the circle and whose endpoints lie on the circle. It can also be defined as the longest chord of the circle. Both definitions are also valid for ...
is both greater than the length of the side of the square and less than the length of the diagonal of the square (so that each figure has interior points that are not in the interior of the other). Such shapes lack the tangent continuity possessed by both superellipses and rounded squares. A ''rounded cube'' can be defined in terms of
superellipsoid In mathematics, a superellipsoid (or super-ellipsoid) is a solid whose horizontal sections are superellipses (Lamé curves) with the same exponent ''r'', and whose vertical sections through the center are superellipses with the same exponent ''t ...
s.


Uses

Squircles are useful in
optics Optics is the branch of physics that studies the behaviour and properties of light, including its interactions with matter and the construction of instruments that use or detect it. Optics usually describes the behaviour of visible, ultraviole ...
. If light is passed through a two-dimensional square aperture, the central spot in the
diffraction Diffraction is defined as the interference or bending of waves around the corners of an obstacle or through an aperture into the region of geometrical shadow of the obstacle/aperture. The diffracting object or aperture effectively becomes a s ...
pattern can be closely modelled by a squircle or supercircle. If a rectangular aperture is used, the spot can be approximated by a
superellipse 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 ...
. Squircles have also been used to construct dinner plates. A squircular plate has a larger area (and can thus hold more food) than a circular one with the same radius, but still occupies the same amount of space in a rectangular or square cupboard. Many
Nokia Nokia Corporation (natively Nokia Oyj, referred to as Nokia) is a Finnish multinational corporation, multinational telecommunications industry, telecommunications, technology company, information technology, and consumer electronics corporatio ...
phone models have been designed with a squircle-shaped touchpad button, as was the second generation
Microsoft Zune Zune is a discontinued line of digital media products and services marketed by Microsoft from November 2006 until its discontinuation in June 2012. Zune consisted of a line of portable media players, digital media player software for Windows PC ...
.
Apple An apple is an edible fruit produced by an apple tree (''Malus domestica''). Apple fruit tree, trees are agriculture, cultivated worldwide and are the most widely grown species in the genus ''Malus''. The tree originated in Central Asia, wh ...
uses an approximation of a squircle (actually a quintic superellipse) for icons in
iOS iOS (formerly iPhone OS) is a mobile operating system created and developed by Apple Inc. exclusively for its hardware. It is the operating system that powers many of the company's mobile devices, including the iPhone; the term also includes ...
,
iPadOS iPadOS is a mobile operating system developed by Apple Inc. for its iPad line of tablet computers. It is a rebranded variant of iOS, the operating system used by Apple's iPhones, renamed to reflect the diverging features of the two product l ...
,
macOS macOS (; previously OS X and originally Mac OS X) is a Unix operating system developed and marketed by Apple Inc. since 2001. It is the primary operating system for Apple's Mac computers. Within the market of desktop and lapt ...
, and the home buttons of some Apple hardware. One of the shapes for adaptive icons introduced in the Android "Oreo" operating system is a squircle.
Samsung The Samsung Group (or simply Samsung) ( ko, 삼성 ) is a South Korean multinational manufacturing conglomerate headquartered in Samsung Town, Seoul, South Korea. It comprises numerous affiliated businesses, most of them united under the ...
uses squircle-shaped icons in their Android software overlay
One UI One UI is a user interface developed by Samsung Electronics for its Android devices running Android 9 "Pie" and later. Succeeding Samsung Experience and TouchWiz, it is designed to make using larger smartphones easier and be more visually appea ...
, and in
Samsung Experience Samsung Experience (stylized as SΛMSUNG Experience) was a software overlay for the Android "launcher" by Samsung for its Galaxy devices running Android 7.x “Nougat” and Android 8.x “Oreo”. It was introduced in late 2016 on a beta build ...
and
TouchWiz TouchWiz was a user interface developed by Samsung Electronics Co., Ltd with partners, featuring a full touch user interface. It is sometimes incorrectly referred to as an operating system. TouchWiz is used internally by Samsung for smartphones, ...
. Italian car manufacturer
Fiat Fiat Automobiles S.p.A. (, , ; originally FIAT, it, Fabbrica Italiana Automobili di Torino, lit=Italian Automobiles Factory of Turin) is an Italian automobile manufacturer, formerly part of Fiat Chrysler Automobiles, and since 2021 a subsidiary ...
used numerous squircles in the interior and exterior design of the third generation
Panda The giant panda (''Ailuropoda melanoleuca''), also known as the panda bear (or simply the panda), is a bear species endemic to China. It is characterised by its bold black-and-white animal coat, coat and rotund body. The name "giant panda" is ...
.


See also

*
Astroid In mathematics, an astroid is a particular type of roulette curve: a hypocycloid with four cusps. Specifically, it is the locus of a point on a circle as it rolls inside a fixed circle with four times the radius. By double generation, it ...
*
Ellipse In mathematics, an ellipse is a plane curve surrounding two focus (geometry), focal points, such that for all points on the curve, the sum of the two distances to the focal points is a constant. It generalizes a circle, which is the special ty ...
*
Ellipsoid An ellipsoid is a surface that may be obtained from a sphere by deforming it by means of directional scalings, or more generally, of an affine transformation. An ellipsoid is a quadric surface;  that is, a surface that may be defined as the ...
* spaces *
Oval An oval () is a closed curve in a plane which resembles the outline of an egg. The term is not very specific, but in some areas (projective geometry, technical drawing, etc.) it is given a more precise definition, which may include either one or ...
*
Squround A squround is a container whose shape is between a square and a round tub. It resembles an oval but is sometimes closer to a rectangle with rounded corners. These allow the contents to be easily scooped out of the container. The name is a port ...
*
Superegg In geometry, a superegg is a solid of revolution obtained by rotating an elongated superellipse with exponent greater than 2 around its longest axis. It is a special case of superellipsoid. Unlike an elongated ellipsoid, an elongated ...


References


External links

* {{youtube, gjtTcyWL0NA, What is the area of a Squircle? by
Matt Parker Matthew Thomas Parker (born 22 December 1980) is an Australian recreational mathematician, author, comedian, YouTube personality and science communicator based in the United Kingdom. His book ''Humble Pi'' was the first maths book in the UK to ...

Online Calculator for supercircle and super-ellipse


Geometric shapes Plane curves Algebraic curves