Squircles

(linebender.org)

31 points | by raphlinus 12 hours ago

5 comments

  • fasterik 19 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.
  • terhechte 28 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 46 minutes ago
    Can someone explain the difference to me between a rounded rectangle and a squircle?
    • layer8 33 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 40 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 42 minutes ago
    • wolttam 41 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)

  • MitPitt 48 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 29 minutes ago
      I dislike rounded corners as well, but also when they are squircles.
  • xunil2ycom 12 minutes ago
    If anything never needed to be examined, it is this.