Just uploaded a new project to Codeberg: see Common Lisp Hex grid library for more details, but here’s an image:
An Hex Grid.
The short of it is that it’s a Common Lisp hex grid library heavily inspired by Amit Patel’s “Implementation of Hex Grids”.
As I mentioned in the Common Lisp terrain generator, my interest in hex maps comes from playing a play-by-mail game (initially really by mail, I would send the order sheet and receive the printed turn) called “Idade das Trevas” (Age of Darkness), which was based on the World of Greyhawk map of the Flanaess:
World of Greyhawk “Darlene map”
This is partially the reason why, on top the existing coordinate systems, I’ve added initial support
for “D&D coordinates”, which are the ones used in that map: A2:123
and B5:056
are examples of that, using a combination of letters and numbers for the columns (the q
axis
in cubic coordinates) and numbers for the rows (the r
axis).
I’ll keep working on this in my spare time, it’s one of those themes that I keep getting back to.