5 ms·
The spiral looks unnatural, why not do it like this: https://imgur.com/a/e25fDvc https://imgur.com/a/e25fDvc ?
by sesm 2y ago
The spiral looks unnatural, why not do it like this: https://imgur.com/a/e25fDvc https://imgur.com/a/e25fDvc ?
- jfengel 2y agoGood question. That seems a lot more symmetric and easier to use.
- tiziano88 2y agoIn the scheme from the article, each new outer ring starts from the same position (bottom left corner of the hexagon), which seems a useful invariant
- AlotOfReading 2y agoThis also causes you to lose equal distance steps for each increment because you have to "jump over" to get to the next ring. That seems like a useful invariant for a coordinate system too.
- 0xml 2y agoThis was my first instinct as well, which makes sure numbers are adjacent. OP also mentioned this variant as lucidBrot/hexgridspiral in the older post.