Hexagon spiral coordinates

 from Red Blob Games
03 Mar 2018

BEBischof asked on Twitter[1] about hexagonal spiral coordinate patterns. I know there are patterns with cube coordinates[2] but I don't know what they are, or if there are patterns with offset coordinates too. So I just printed them out. It looks like the cube coordinates have a pattern where one column stays the same while the others change by +1/-1. They switch columns when one reaches 0. The offset coordinates have some pattern but I'm not sure how to describe it.

IndexCube coordsOffset coords
{{index+1}}{{hex.q}}{{hex.r}}{{hex.s}}{{hex.row}}{{hex.col}}

Email me , or tweet @redblobgames, or comment: