Squircles

(linebender.org)

35 points | by raphlinus 13 hours ago

6 comments

  • fasterik 29 minutes ago
    For those who are confused by the plot like I was, the horizontal axis is arc length, and the vertical axis is curvature.
  • ex1fm3ta 4 minutes ago
    The new Apple product HomeView is a Squircle https://www.apple.com/ca/shop/buy-home/apple-homeview/apple-...
    • schrodinger 0 minutes ago
      I think that’s just a Rounded Rect, the sides are straight and parallel just with rounded corners. If you visit the site, a squircle is a different shape.
  • terhechte 39 minutes ago
    PaintCode! Here's a name I haven't heard in a long time. I had a license for this and one of my Mac apps (InstaDesk, later, PhotoDesk) used it a lot for all kinds of UI elements.
  • xg15 56 minutes ago
    Can someone explain the difference to me between a rounded rectangle and a squircle?
    • layer8 43 minutes ago
      The sides of a squircle never become completely straight, they are curved at every point.

      One consequence of that is that they scale more nicely for nesting: https://thatsmaths.com/wp-content/uploads/2016/07/squircles-... (right half of the image)

    • flowerlad 50 minutes ago
      A standard rounded rectangle has quarter-circle corners. A squircle starts curving earlier and more gently, with a gradual transition from its flatter sides into its corners.

      Personally, I prefer regular old round rectangles. Squircles are ugly.

    • TobTobXX 52 minutes ago
      • snug 7 minutes ago
        I like that he asked this question because that was not a question I thought to even ask
    • wolttam 51 minutes ago
      Rounded rectangle is a rectangle with fixed radius corners, a “squircle” is some shape where the corner’s radius is not constant.

      (My interpretation)

  • xunil2ycom 23 minutes ago
    If anything never needed to be examined, it is this.
  • MitPitt 59 minutes ago
    Too bad squircle corner shape (along with scoop, notch, bevel) are only available on chrome as a CSS feature, but not firefox or safari. I hate rounded corners in UI, with a passion.
    • layer8 39 minutes ago
      I dislike rounded corners as well, but also when they are squircles.