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.
1. calculate hexagon variables and origin
2. calculate hexpartX
3. if a hexside, calculate hexpartY
4. if in center, calculate hexpartY