How do you measure a hex map?
Count by the shortest route. Simply counting the hexes from the grid next to your starting point to the grid where you want to stop is how you measure the distance. If a hex is 1 mile, then 5 hexes would be 5 miles.
What is the Apothem of a hexagon?
Hexagon area formula: how to find the area of a hexagon Just as a reminder, the apothem is the distance between the midpoint of any of the sides and the center. It can be viewed as the height of the equilateral triangle formed taking one side and two radii of the hexagon (each of the colored areas in the image above).
What kind of algorithms are used for hex grids?
In particular, we can reuse standard operations from cartesian coordinates: adding coordinates, subtracting coordinates, multiplying or dividing by a scalar, and distances. Sometimes we don’t have obvious algorithms for hex grids, but we do have algorithms for cube grids.
How are the cube coordinates related to the hex grid?
Study how the cube coordinates work on the hex grid. Selecting the hexes will highlight the cube coordinates corresponding to the three axes. Each direction on the cube grid corresponds to a line on the hex grid. Try highlighting a hex with z at 0, 1, 2, 3 to see how these are related.
How are hexagonal grids different from square grids?
Another way to look at hexagonal grids is to see that there are three primary axes, unlike the two we have for square grids. There’s an elegant symmetry with these. Let’s take a cube grid and slice out a diagonal plane at x + y + z = 0.
Which is the axial coordinate system in hexagonal grids?
The axial coordinate system, sometimes called “trapezoidal” or “oblique” or “skewed”, is built by taking two of the three coordinates from a cube coordinate system. Since we have a constraint x + y + z = 0, there’s some redundancy, and we don’t need to store all three coordinates.