No time to think about this very much at the moment, but the hexagon pattern is
alternating offset rows --- _almost_ similar to brick.
https://forum.processing.org/two/discussion/6735/hexagon-grid-with-almost-random-colour-fills-same-colour-adjacencies-m
inimized