1.1 Hex grids in Common Lisp
============================

2025-03-30

  Just uploaded a new project to Codeberg (1): *note cl-hexgrid:: for
more details, but here's an image:

[An Hex Grid.]

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' (2).

  As I mentioned in the *note cl-rebonoise::, 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, here in the

[World of Greyhawk `Darlene map' ]

World of Greyhawk 'Darlene map' (3)

  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 code ‘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.

  ---------- Footnotes ----------

  (1) Codeberg (https://codeberg.org/fsm/cl-hexgrid)

  (2) Amit Patel's 'Implementation of Hex Grids'
(https://www.redblobgames.com/grids/hexagons/implementation.html)

  (3) 'Darlene map'
(https://www.greyhawkonline.com/greyhawkwiki/Darlene_map)