logoalt Hacker News

Squircles

109 points • by raphlinus • yesterday at 7:55 AM • 34 comments • view on HN

Comments

scarecrw • yesterday at 9:46 PM

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

➕ show 1 reply
thot_experiment • yesterday at 11:27 PM

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:

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.

mosura • yesterday at 9:59 PM

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.

0x4e • yesterday at 9:42 PM

This is the kind of wholesome content HN needs more of.

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!

fasterik • yesterday at 8:27 PM

For those who are confused by the plot like I was, the horizontal axis is arc length, and the vertical axis is curvature.

➕ show 1 reply
terhechte • yesterday at 8:18 PM

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.

fiatpandas • yesterday at 10:39 PM

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.

xg15 • yesterday at 8:01 PM

Can someone explain the difference to me between a rounded rectangle and a squircle?

➕ show 9 replies
pampas • yesterday at 9:36 PM

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.

➕ show 1 reply
coolfox • yesterday at 10:32 PM

don't let the models see this. they're obsessed with rounded corners

vindex10 • yesterday at 9:36 PM

I came here expecting squirrels, haha)

cyberax • yesterday at 10:26 PM

If you're interested in squircles, also make sure to read about squigonometry: https://en.wikipedia.org/wiki/Squigonometry

There's a wonderful book about it: https://link.springer.com/book/10.1007/978-3-031-13783-9

MitPitt • yesterday at 7:58 PM

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.

➕ show 2 replies
ex1fm3ta • yesterday at 8:53 PM

The new Apple product HomeView is a Squircle https://www.apple.com/ca/shop/buy-home/apple-homeview/apple-...

➕ show 1 reply
xunil2ycom • yesterday at 8:34 PM

If anything never needed to be examined, it is this.

➕ show 2 replies