Squircle Explained

A squircle is a shape intermediate between a square and a circle. 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 of the words "square" and "circle". Squircles have been applied in design and optics.

Superellipse-based squircle

In a Cartesian coordinate system, the superellipse is defined by the equation\left|\frac\right|^n + \left|\frac\right|^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^4where is the minor radius of the squircle, and the major radius is the geometric average between square and circle. 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.

The area inside the squircle can be expressed in terms of the gamma function 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), and a rotated square is given by (the taxicab norm). This allows a straightforward generalization to a spherical cube, or sphube, in, or hypersphube in higher dimensions.[1]

Fernández-Guasti squircle

Another squircle comes from work in optics.[2] [3] 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 to a square from a circle, 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, 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 a 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 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. 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.[3]

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.[4]

Many Nokia phone models have been designed with a squircle-shaped touchpad button,[5] [6] as was the second generation Microsoft Zune.[7] Apple uses an approximation of a squircle (actually a quintic superellipse) for icons in iOS, iPadOS, macOS, and the home buttons of some Apple hardware.[8] One of the shapes for adaptive icons introduced in the Android "Oreo" operating system is a squircle.[9] Samsung uses squircle-shaped icons in their Android software overlay One UI, and in Samsung Experience and TouchWiz.[10]

Italian car manufacturer Fiat used numerous squircles in the interior and exterior design of the third generation Panda.[11]

See also

External links

Notes and References

  1. Squircular Calculations. Chamberlain Fong. 1604.02174. 2016. math.GM .
  2. Int. J. Educ. Sci. Technol.. 23. M. Fernández Guasti . Analytic Geometry of Some Rectilinear Figures. 895–901 . 1992.
  3. . 116 . 265–269 . 2005 . LCD pixel shape and far-field diffraction patterns . 20 November 2006 . 10.1016/j.ijleo.2005.01.018 . 6 . M. Fernández Guasti . A. Meléndez Cobarrubias . F.J. Renero Carrillo . A. Cornejo Rodríguez. 2005Optik.116..265F .
  4. Web site: Kitchen Contraptions . Squircle Plate . 20 November 2006 . dead . https://web.archive.org/web/20061101032925/http://www.kitchencontraptions.com/archives/006830.php . 1 November 2006 .
  5. Nokia Designer Mark Delaney mentions the squircle in a video regarding classic Nokia phone designs:
    Nokia 6700 – The little black dress of phones . See 3:13 in video . 9 December 2009 . dead . https://web.archive.org/web/20100106035910/http://conversations.nokia.com/2009/06/17/nokia-6700-the-little-black-dress-of-phones/ . 6 January 2010 .
  6. Web site: Clayton Miller evaluates shapes on mobile phone platforms . 2 July 2011.
  7. Web site: Marsal . Katie . Microsoft discontinues hard drives, "squircle" from Zune lineup . Apple Insider . 25 August 2022.
  8. Web site: The Hunt for the Squircle . 23 May 2022.
  9. Web site: Adaptive Icons . 15 January 2018.
  10. Web site: OneUI . 2022-04-14 . Samsung Developers . en.
  11. Web site: PANDA DESIGN STORY . 30 December 2018.