Hexagonal grid math library.
hex is a Go implementation of hexagonal grid math based on amitp’s Hexagonal Grids articles. This package focuses on hexagonal grid math, including:
import (
// Base library
"github.com/erinpentecost/hex"
// For pathfinding
"github.com/erinpentecost/hex/path"
// For constructive solid geometry
"github.com/erinpentecost/hex/area"
)