Lurker News
Hi HN, I'm curious to see what cool things everyone's building. What side projects are you developing? What are you applying to HN with?

Comments (1,232) 661 threads

Show all comments

Showing thread 30 of 661

JakeStone1 reply#
Hexagons.

There's a library available at https://github.com/uber/h3 that lets you partition the earth into hexagons (minus the required 12 pentagons) at various resolutions. It's spiffy. I had the hardest (read impossible) time when I first took a look at it getting it to compile into a mobile game. It worked fine in desktop, but not on mobile.
So I punted and converted the whole thing into C#. It's a hot mess currently, but it works.
However, the folks who created H3 added functionality and some optimizations that I want, so I'm rebuilding it, partly with dealing with some of the issues that have come up with my game during development. It's coming along smoothly, though the unit tests are what's slowing me down at this moment.
Once that's done, I'm going back to my game. Covering the world in brightly colored hexagons as reality starts to crumble around you.
So, still... Hexagons. That's what I'm working on.

TameAntelope#
Hexagons are, after all, the bestagons.

On the very very low chance you haven't seen this: https://www.youtube.com/watch?v=thOifuHs6eY
And if you don't know who CGP Grey is and are wondering how this comment fits into HN, I can only offer that he's cashing in on his reputation a bit with the fun tone, but IMO the video is also interesting informationally.