News for hackers. Stuff that matters.
Re:Show HN: Various Shape Regularization Algorithms by marquesine on Friday January 09, 2026 @02:45PM (#46558296)
This is the thing I wished existed somewhere and didn’t know how to search for.

I’m a land surveyor, and another topic I’m interested in is automatic label (text) positioning around shapes, possible strategies, what works best, including design principles and how to keep it non-cluttered for the user.

Re:Show HN: Various Shape Regularization Algorithms by Fraterkes on Friday January 09, 2026 @03:01PM (#46558513)
Hey, you've probably seen these already, but Redblobgames has a great series of posts about creating good labels for maps: https://www.redblobgames.com/blog/2024-08-20-labels-on-maps/ https://www.redblobgames.com/blog/2024-10-09-sdf-curved-text... (There's a few others too)
Re:Show HN: Various Shape Regularization Algorithms by jouless on Friday January 09, 2026 @08:38PM (#46561825)
Polylabel is pretty great

https://github.com/mapbox/polylabel