Web Wargaming

Web Wargaming Home

Hexagon Map - Hexagon Grid - Hexagon Math

The Hexagon map is used to regulate movement and position military units.

The Hexpart grid is a coordinate system on the hexagon map.

Hexpart Math uses the Hexpart grid to calculate wargame movement and combat
and place units correctly on the map.

Hexpart Math is used for range, bearing, offset and line of sight

The axis at the right is used to identify hexparts.
A mouse hexpart filter shows how to get the hexpart from a map.
A hexpart is either a hexagon center or a hexside midpoint.

For example, the hexagon 0302 is at 8,12 in hexparts
the hexside hex\0202 is at 5, 15 in hexparts

Why hexparts work :

Because hexparts are real coordinates with
  the 3 factored out on the X-axis.
  and the 2 * (square root of 3) factored out on the Y-axis

the hexagon 0408 is at 12, 16*sqrt(3) in cartesian coordinates

  Hexpart naming standard:  To identify hexparts,
a prefix is used in reference to a hexagon.

hexpart: is the prefix for a hexagon center
hexpart/ is the prefix for the hexside to the upper left
hexpart\ is the prefix for the hexside to the lower left
hexpart_ is the prefix for the lower hexside

map

Examples of hexparts: Notice the numbers are not all the same! (this is intentional)

hexpart_0301 is the hexside 0301-0302
hexpart/0302 is the hexside 0201/0302 hexpart\0401 is the hexside 0302\0401
hexpart:0302 is the hexagon at 0302
hexpart\0302 is the hexside 0202\0302 hexpart/0402 is the hexside 0302/0402
hexpart_0302 is the hexside 0302-0303

copyright (c) 2004-2007 Mark Butler