Generic, allocation-conscious and tested to 100% coverage, with results that stay bit-identical across amd64 and arm64.
- geometry: immutable 2D geometry, points, vectors and shapes with their tests, casts and constructions.
- hexagon: hexagonal grid math, coordinates, rings, lines, line of sight and field of view.
- grid: 2D grids with rectangular, isometric and hexagonal layouts, range and sight queries, and pathfinding.
- container: generic containers, a table of values per index and an immutable sorted set.
- assert: lightweight test assertions.
- errors: a drop-in superset of
errorswith fields, stack traces and multi-errors.
graph LR
hexagon --> geometry
container --> geometry
grid --> geometry
grid --> hexagon
grid --> container
Bug reports and proposals are welcome in each library's issues. Please see Contributing before opening a pull request, and Security to report a vulnerability.
Every library is released under the MIT License, in the LICENSE.md of its repository.