Global Hexagonal Awareness Project @hexagonalawareness.com · Apr 10

in the orthogonal view, we can draw an n*3 square around the origin to create a repeating square pattern. it is then a simple matter of modding the coords to the square, then doing some comparisons to map them back to the central hex aka the wrapped coordinates.

1 likes 2 replies

?

Replies

Global Hexagonal Awareness Project · Apr 12

there's several mistakes in the colored areas of the neighboring groups here so don't read too much into it lol. it works when done right.

Global Hexagonal Awareness Project · Apr 10

this is a somewhat verbose and unoptimized WGSL implementation.