HOME

TheInfoList



OR:

A squircle is a
shape A shape or figure is a graphical representation of an object or its external boundary, outline, or external surface, as opposed to other properties such as color, texture, or material type. A plane shape or plane figure is constrained to lie ...
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 a ...
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 cons ...
. There are at least two definitions of "squircle" in use, the most common of which is based on the superellipse. 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, ultrav ...
.


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 ...
, the superellipse 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 (plural, : radii) of a circle or sphere is any of the line segments from its Centre (geometry), center to its perimeter, and in more modern usage, it is also their length. The name comes from the latin ''radius'', ...
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 or planar lamina, while '' surface area'' refers to the area of an op ...
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 excep ...
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.


''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 th ...
), and a rotated square is given by (the taxicab norm). 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 am ...
.


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, 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, thei ...
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 f ...
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 superellipsoids.


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, ultrav ...
. 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. Squircles have also been used to construct
dinner plate A plate is a broad, mainly flat vessel on which food can be served. A plate can also be used for ceremonial or decorative purposes. Most plates are circular, but they may be any shape, or made of any water-resistant material. Generally plat ...
s. 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 telecommunications, information technology, and consumer electronics corporation, established in 1865. Nokia's main headquarters are in Espoo, Finland, i ...
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 trees are cultivated worldwide and are the most widely grown species in the genus '' Malus''. The tree originated in Central Asia, where its wild ancest ...
uses an approximation of a squircle (actually a quintic superellipse) for icons in iOS,
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 ...
,
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 la ...
, 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 app ...
, and in Samsung Experience 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 subsidiar ...
used numerous squircles in the interior and exterior design of the third generation Panda.


See also

* Astroid *
Ellipse In mathematics, an ellipse is a plane curve surrounding two 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 type of ellipse in ...
*
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 th ...
* 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 ...
*
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 s ...


References


External links

* {{youtube, gjtTcyWL0NA, What is the area of a Squircle? by Matt Parker
Online Calculator for supercircle and super-ellipse


Geometric shapes Plane curves Algebraic curves