https://www.redblobgames.com/grids/parts/#more
> Spiral Honeycomb Mosaic [0] (search the page for "Spiral Honeycomb Mosaic") is an interesting way to assign numbers to hexagons in a hexagonal grid. It results in bizarre properties.
- https://gamedev.stackexchange.com/questions/71785/converting...
- https://tex.stackexchange.com/questions/275490/is-there-an-e...
- https://github.com/cooscoos/spiral_cube
- https://web.archive.org/web/20160309172431/http://www.pyxisi...
- https://www.sciencedirect.com/science/article/pii/0166218X92...
- https://thoughtstreams.io/jtauber/hex-map-addressing/
- http://tzaphiriron.sidemoon.net/static/hex/hex.html
- https://tilde.zone/@misterdave/109736460410840020
There's so much more to add to the page, and I keep adding over time. Thanks for the link to the hex-spiral crate; I'll add it to my bookmarks.
I think the original idea is from Paul Bourke. He calls it a Spiral Honeycomb Mosaic (SHM).
See his "Tiling on The Plane" page [1]. Scroll down to the section titled "Hexagonal Lattice" (contains links to source code with coordinate conversions).
Here is a Rust implementation of a different variant of the same idea [2].
[1] http://paulbourke.net/geometry/tilingplane/
[2] https://crates.io/crates/hex-spiral