Skip to content

Instantly share code, notes, and snippets.

@redblobgames
Created April 29, 2023 23:19
Show Gist options
  • Save redblobgames/0a32556a8ef2744209d57de249be9e7f to your computer and use it in GitHub Desktop.
Save redblobgames/0a32556a8ef2744209d57de249be9e7f to your computer and use it in GitHub Desktop.
Three-Rhombus storage of a hex map

Reddit user /u/GavrielBA is using three rhombuses to store a hexagon-shaped map

@redblobgames
Copy link
Author

Possibly related: https://www.researchgate.net/figure/721-element-hexagonal-array-with-threefold-parallelogram-cleavage_fig4_235993911 is a paper that subdivides a hexagon into three parallelograms

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment