Features

  • Supports hex grids (pointy and flat), rect grids, and diamond grids
  • Supports grids in different shapes.
  • Supports contents of any data type.
  • Supports fast lookup of points (whether a point is inside a grid or not).

hexshapes

  • Supports access through integer vectors.pointyhex_coordinatesfalthex_coordinates
  • Vectors support addition, subtraction, scaling, matrix multiplication, and dot product.
  • Supports iterators for grids – easily loop through all the points in a grid.
  • Support easy mapping to screen coordinates (with functions to translate and scale the grid, and align the grid to the edges, corners or center of a rectangle).
  • Support grid colorings.
  • Supports A* path finding.

diamond_grids470x235

Pathfindingimage

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top