by xg15 · 1w ago · 0 comments
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.
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.
This is one of my pet fascinations (nerd snipe pits) - deciphering transition curve markings along railway tracks while travelling by train, preferably peeling an orange [*]. These transition curves are usually some approximation of an Euler Spiral (aka Cornu Spiral, Clothoid), typically a cubic parabola. To compute the Euler spiral as a closed form one gets into Fresnel integrals. Cubic parabolas are a lot easier to compute and for short arc lengths almost indistinguishable.
These get used in roller-coasters too, for pretty much the same reason (to avoid the "jerk")
What is not so well known is that Markov (of Markov chains) worked on the problem of optimal curves for joining straight railway tracks constrained by steering dynamics of trains. I think this was before his work on chains. His formulation was later rediscovered independently by Dubins.
[*] I am so glad you asked why an orange https://arxiv.org/html/1202.3033v1
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.
Personally, I prefer regular old round rectangles. Squircles are ugly.
(My interpretation)