Most of us are familiar with how to define a coordinate to reference specific sq...

@alcinnz@floss.social

Most of us are familiar with how to define a coordinate to reference specific squares (or for 3D, cubes) in a grid, but what if we want to form our grid from triangles or hexagons?

For triangles we split those squares in half & track which half we're referring to. Whilst for hexagons, we can treat them as the cross-section of cubes. Where x + y + z = 0. That constraint means we only need to track 2 coordinates for the cube.

Given the math for traversing & rendering these grids is easy.

1/2?