Remix.run Logo
▲ prideout 3 hours ago

Like Raph's post says: squircles do not have a single agreed-upon mathematical definition. I don't think "rounded rectangle" does either.

▲raphlinus 3 hours ago | parent [-]

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.

▲kbelder 11 minutes ago | parent [-]

So a letter "D" is an extreme rounded rectangle with different radii on the left and right side? That makes some sense.