Web Wargaming


Hexagon Grid

1. Add a graphic map to the web page

2. Add a mouse move listener

3. Calculate the hexagon and the hexpart.

The hexagon number identifies the hexagon

The hexpart is a hexagon center or a hexside midpoint
based on the hexagon grid
: center   /upperleft hexside \lowerleft hexside _bottom hexside

The hexpart number is used for computer calculations
called hexagon math to calculate range, bearing, and line of sight

Filters for hexagon maps with a horizontal grain.

hexagon:
hexpart: