Live data from Hacker News

Show HN: Apple-like smooth corners for Tailwind CSS

github.com

11–16 of 16 posts

Re: Show HN: Apple-like smooth corners for Tailwind CSS

#11
post #8

Is this a joke, I can't see a difference.

Looks like the derivative of the angle is continuous. When you drive around a street corner in a car, you start by turning the wheel to turn a little, then more, then less, then you drive straight again. This looks like that kind of curve.

Some links on this with regards to roads/tracks:

https://en.wikipedia.org/wiki/Jerk_(physics)#In_the_geometri...

https://en.wikipedia.org/wiki/Track_transition_curve

Re: Show HN: Apple-like smooth corners for Tailwind CSS

#14
post #2

I already knew about the whole “mathematically perfect corners” thing Apple does, so I was super curious how someone implemented that in CSS. I figured it was some sort of new CSS feature involving splines, but then I saw there was a folder called “masks” containing PNG files at 3 resolutions and I was immediately transported back to the mid-2000s.

> I already knew about the whole “mathematically perfect corners” thing Apple does

This https://arun.is/blog/apple-rounded-corners ?

Post reply on HN