Generating triangular/hexagonal coordinates (xyz)
Not only is x + y + z = 0, but the absolute values of x, y and z are equal to twice the radius of the ring. This should be sufficient to identify every hexagon on each successive ring: var radius = 4; for(var i = 0; i < radius; i++) { for(var j … Read more