Hacker News new | ask | show | jobs
by TophWells 4482 days ago
That's not a hack, that's actually the best way to do it. And it can work with more complex shapes (even non-convex ones) as long as you can find the tangent points - which isn't always easy.