Oriel — AI & technology worth noticing, every day.

Squircles

Web page · https://linebender.org/wiki/curves/squircle

First seen by Oriel on .

AI summary

This technical overview compares squircle constructions, explaining superellipse parameters, Apple and Figma shapes, curvature continuity, and CSS corner-shape implementations.

  • A superellipse follows |x|^n + |y|^n = 1, transitioning from a circle at n=2 toward a square as n increases.
  • Gauge, defined as the quadrant midpoint coordinate x = 0.5^(1/n), provides an intuitive comparison across squircle variants.
  • Apple’s shape is a flat-sided squircle with minor asymmetry and an extraneous segment, while Figma’s cleaned-up approximation uses three Bézier segments per quadrant.
  • Clothoid and superellipse variants provide G2 continuity, generally considered visually smooth; the Figma approximation has significant curvature discontinuities.
  • CSS corner-shape standardizes real superellipse corners, while Chromium uses a two-Bézier-per-quadrant approximation; exponent 3 with a flat side closely matches Apple’s shape.

#squircles #superellipses #bezier curves #css

Generated by gpt-5.6-sol. Check the original for details.

Metric trends

Last 30 days · Up to 120 recorded samples per source and metric, with reposts kept separate · First and latest retained

Points

Score reported by the source.

  • Hacker News: 179, latest observation ; +175 over observed period since
  • Lobsters: 44, latest observation ; +41 over observed period since

Comments

Comment count reported by the source.

  • Hacker News: 46, latest observation ; +46 over observed period since
  • Lobsters: 5, latest observation ; +5 over observed period since

Aliases

SourceExternal IDURL
Hacker News50515151https://linebender.org/wiki/curves/squircle/ Read discussion
Lobstersiihw5uhttps://linebender.org/wiki/curves/squircle/ Read discussion