Jump to content

Squircle: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Mentioned QuickDraw
Noticed the “similar shapes section,” oops
Line 35: Line 35:
[[Microsoft]]'s second iteration of the [[Zune]] portable media player sports a squircle as the button pad.<ref>Zune Scene, [http://www.zunescene.com/zune-2-launch-date/ Zune 2 October Launch], accessed [[23 September]] [[2007]]</ref>
[[Microsoft]]'s second iteration of the [[Zune]] portable media player sports a squircle as the button pad.<ref>Zune Scene, [http://www.zunescene.com/zune-2-launch-date/ Zune 2 October Launch], accessed [[23 September]] [[2007]]</ref>


The “roundrect” is one of the [[Primitive (geometry)|fundamental primitives]] in the Macintosh [[QuickDraw]] API. As a result, squircles have since become a key artistic signature of [[Apple Inc|Apple]]'s, permeating the visual design of its imagery and products.
The “roundrect” is one of the [[Primitive (geometry)|fundamental primitives]] in the Macintosh [[QuickDraw]] API. As a result, rounded rectangles have since become a key artistic signature of [[Apple Inc|Apple]]'s, permeating the visual design of its imagery and products.


==See also==
==See also==

Revision as of 13:30, 22 March 2009

A squircle

Squircle is a portmanteau word used to refer to a mathematical shape with properties between those of a square and those of a circle. It is a special case of superellipse.

Equation

In a Cartesian coordinate system, the squircle centered on the point (ab) with axes parallel to the coordinate axes is described by the equation:

where r is the minor radius of the squircle (cf. equation of a circle). In other words, it is the boundary of the unit ball of .

Generalisation

The squircle is a specific case (found by setting n = 4) of the class of shapes known as "supercircles", which have the equation

Unfortunately, the taxonomy is not consistent - some authors refer to the class as "supercircles" and the specific case as a squircle, while others adopt the opposite naming convention. Supercircles in turn are a subgroup of the even more general "superellipses", which have the equation

where ra and rb are the semi-major and semi-minor axes. Superellipses were extensively studied and popularised by the Danish mathematician Piet Hein.

Similar shapes

A squircle (black) compared with a rounded square (red) (see text)

A shape similar to a squircle, called a rounded square, may be generated by arranging four quarters of a circle and connecting their loose ends with straight lines. As can be seen in the picture to the right, 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.

Uses

Squircles are primarily 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.[1]

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. The same is true of a square plate, but there are various problems (such as wiping up sauce) associated with the corners of square plates.[2]

Sumvision manufactures an SD card based MP3 player named Squircle for the budget market. It is not, however, a genuine squircle, although vaguely similar in shape.[3]

Microsoft's second iteration of the Zune portable media player sports a squircle as the button pad.[4]

The “roundrect” is one of the fundamental primitives in the Macintosh QuickDraw API. As a result, rounded rectangles have since become a key artistic signature of Apple's, permeating the visual design of its imagery and products.

See also

References

  1. ^ M. Fernández Guasti et al., Optik 116 p265–269, 2005. Available online, accessed 20 November 2006
  2. ^ Kitchen Contraptions, Squircle Plate, accessed 20 November 2006
  3. ^ Advanced MP3 Players, Squircle SD Card MP3 Player, accessed 20 November 2006
  4. ^ Zune Scene, Zune 2 October Launch, accessed 23 September 2007