Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

There’s gifs of hexagons on a planet you can search but you can’t cover a sphere with just hexagons. Even so, I imagine the poles are irrelevant to Uber


The image shows a number of pentagons, so it's not just hexagons unless you consider a pentagon some kind of degenerate hexagon. That said, you can indeed cover a sphere with only hexagons, if you relax the requirement that they all be regular hexagons.


> you can indeed cover a sphere with only hexagons, if you relax the requirement that they all be regular hexagons

More precisely, what you need to relax is the requirement that 3 hexagons always meet at every vertex. See https://en.wikipedia.org/wiki/Euler_characteristic#Polyhedra

If you have only hexagons, you end up with 6 vertices on the sphere where only 2 hexagons meet (whether you still consider these to be "hexagons" when they have two adjacent sides is a matter of definitions).

But what many spacial indices do instead is include 12 pentagons among the hexagons.


Looks like H3 uses regular hexagons and instead drops the requirement that they can't overlap.


At each tiling level, they have a proper tiling of hexagons with 12 pentagons. The system is based on an icosahedron.

But the way the hierarchical division system works, the tile boundaries from one scale don’t precisely match the tile boundaries from another scale.


That can be a deal breaker for some uses




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: