Hacker GitHub

← All repos

mapbox/polylabel

View on GitHub ↗ ★ 1,557 JavaScript

A fast algorithm for finding the pole of inaccessibility of a polygon (in JavaScript and C++)

4 mentions on Hacker News by 3 people: 0 stories, 4 comments · first 2019-08-15 · latest 2026-01-10

Mentions per year 4 mentions · busiest year 2026 (2)
20082026
  1. Polylabel is pretty great https://github.com/mapbox/polylabel
  2. …algorithm for computing the point https://blog.mapbox.com/a-new-algorithm-for-finding-a-visual... ( https://github.com/mapbox/polylabel ) which JTS's MaximumInscribedCircle utility is based on, which I use for "innermost point" label…
    comment by zylepe · 2026-01-09 · in Pole of Inaccessibility
  3. …in render tests) https://github.com/mapbox/pixelmatch - Polylabel (fitting labels into polygons) https://github.com/mapbox/polylabel
  4. …E.g. check out this algorithm I came up with for finding pole of inaccessibility of a polygon: https://github.com/mapbox/polylabel
    comment by mourner · 2019-08-15 · in Martini: Real-Time Terrain Mesh Generator