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.
Firefox recently went hard on really rounded corners in a recent version, and me being an antique interface connoisseur went "Oh hey, project athena is back" an aesthetic I find hideously ugly.
The fun thing is athena toolkit widgets can actually be made to look halfway decent. Put a "*shapeStyle: rectangle" in your xresources. My xmessages have never looked sharper. [1]
1. A blatant lie, I have it themed to look like an old amber monochrome monitor. But "if" I had employed some tasteful pastels my xmessages would look sharp. https://nl1.outband.net/image/xmessage.png
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.
Of course, Apple’s squircles deviate from that by inserting straight line segments. What remains is that the corners still have a non-constant curvature.
On a rounded rectangle, the shape of the corner is continuous, but the curvature is not - it jumps from 0 to R. Rounded rectangles look fine, but if you're attuned to it, this subtle discontinuity can look just a little bit off.
A squircle is one (actually several variations) approach to making the curvature continuous.
I would say it's still a subjective aesthetic difference, but you can use math jargon to explain why you like one better than the other.
A regular rounded rectangle is G1 continuous while a squircle (superellipse) is G2 continuous, which means that it is not only continuous on position and tangent for its outline, but the curvature rate of change for the outline is also continuous, so it's smoother and doesn't have hard difference between "line" and "rounded corner" on the shape.
I think a rounded rectangle is defined as 4 straight line segments joined with G1 continuity to quarter circle arcs. I'm unaware of any other definition. The only variation I know is whether the radii have to be the same or can be different. Flexible implementations do allow the latter.
A highway or railway curve between two straight segments is usually not a simple circle arc. If it were, the sudden discontinuity in higher derivatives (acceleration and jerk) at the transition point from straight to curved would feel uncomfortable, be harder to anticipate and slow down appropriately by a driver, and cause unwanted shear stresses to mechanical parts. So transition curves are used that smoothly vary the curvature from zero to that of the circular segment and back to zero again. The typical transition curve in engineering is called a clothoid, which is one of the squircle types mentioned in the article.
In digital graphic design curvature discontinuities don’t usually cause mechanical issues, but discontinuities in curved shapes can still look jarring – for whatever reason the visual system is rather good at detecting such sudden changes in shapes, even those that naively "should" look smooth.
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.
The maths is elegant but I'm really tired of squircle icons. I find them ugly and I want to go back to the good old days where every icon could have it's own distinctive shape which makes that one app much easier to find. The human brain is great at quickly recognizing shapes and angles so why throw it away. Someone got a promotion for squircles.
Squircles are an excellent shape, slightly outdone in my opinion by their dimensional older brother the sphube. Both thoroughly described here: https://arxiv.org/abs/1604.02174
Generally speaking curves that avoid having discontinuities in their derivatives become hugely interesting the moment you want to interact with physical reality, since they are what enable smoothness. Squircles are just part of this.
iOS squircle primarily exists because of Apple's use of it in industrial design. Yes a squircle icon rests easier on the eyes, so it has some function, but IMO it's more a nod to the importance of G2/G3 curvature and Class-A surfaces in Apple's industrial design and CNC process. Objects that are nicer to hold, with much more visually pleasing highlights, and arguably more efficient use of machine time.
I'm working on a tool to author better splines and superellipses/clothoids feature heavily. If anyone is interested here's a little demo you can play around with:
It's just a giant stack of edge case exceptions that mostly does the thing you'd expect it to, sorry about the UI, it's very much just in the exploration stage.
MitPitt | 4 hours ago
layer8 | 3 hours ago
whoishiding | 2 hours ago
somat | an hour ago
The fun thing is athena toolkit widgets can actually be made to look halfway decent. Put a "*shapeStyle: rectangle" in your xresources. My xmessages have never looked sharper. [1]
1. A blatant lie, I have it themed to look like an old amber monochrome monitor. But "if" I had employed some tasteful pastels my xmessages would look sharp. https://nl1.outband.net/image/xmessage.png
asddubs | an hour ago
xg15 | 4 hours ago
TobTobXX | 3 hours ago
snug | 3 hours ago
wolttam | 3 hours ago
(My interpretation)
flowerlad | 3 hours ago
Personally, I prefer regular old round rectangles. Squircles are ugly.
layer8 | 3 hours ago
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)
Of course, Apple’s squircles deviate from that by inserting straight line segments. What remains is that the corners still have a non-constant curvature.
alanbernstein | 2 hours ago
A squircle is one (actually several variations) approach to making the curvature continuous.
I would say it's still a subjective aesthetic difference, but you can use math jargon to explain why you like one better than the other.
YuechenLi | 2 hours ago
prideout | 2 hours ago
[OP] raphlinus | 2 hours ago
Sharlin | an hour ago
In digital graphic design curvature discontinuities don’t usually cause mechanical issues, but discontinuities in curved shapes can still look jarring – for whatever reason the visual system is rather good at detecting such sudden changes in shapes, even those that naively "should" look smooth.
terhechte | 3 hours ago
fasterik | 3 hours ago
croisillon | 2 hours ago
xunil2ycom | 3 hours ago
random3 | 2 hours ago
osnxwknxeidj | an hour ago
Amazing.
ex1fm3ta | 3 hours ago
pampas | 2 hours ago
apt-apt-apt-apt | an hour ago
vindex10 | 2 hours ago
0x4e | 2 hours ago
Some hate it, some love it.
My perspective on this post is, great! Another idea I can add to my bookmarks for when I’m designing.
Appreciate the OP!
scarecrw | 2 hours ago
PhunkyPhil | an hour ago
mosura | 2 hours ago
cyberax | an hour ago
There's a wonderful book about it: https://link.springer.com/book/10.1007/978-3-031-13783-9
coolfox | an hour ago
fiatpandas | an hour ago
thot_experiment | 35 minutes ago
https://thiic.cc/omnispline/
It's just a giant stack of edge case exceptions that mostly does the thing you'd expect it to, sorry about the UI, it's very much just in the exploration stage.