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 con ...
. 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, 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 ( : 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 or planar lamina, while '' surface area'' refers to the area of an ope ...
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 th ...
), 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.


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 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 fo ...
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 '' ...
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, ultrav ...
. If light is passed through a two-dimensional square aperture, the central spot in the diffraction 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 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 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 ...
.
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 ancestor, ' ...
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 include ...
,
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 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, 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 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 coat and rotund body. The name "giant panda" is sometimes use ...
.


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 * Ellipsoid * 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 *
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