The Perimeter of a Rounded Square
A 300,000 Đồng Story About Geometry and Code
Yesterday, I ran into a strange problem — an algorithmic one.
How do you calculate the perimeter of a square with rounded corners, and properly offset the compensation distance so the visual result remains...
hashnode.huynhnhanquoc.com3 min read