chiark / gitweb /
New grid type: the trihexagonal tiling, or 'kagome lattice'.
authorSimon Tatham <anakin@pobox.com>
Sat, 18 Nov 2017 15:16:40 +0000 (15:16 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 18 Nov 2017 15:26:13 +0000 (15:26 +0000)
commit8af0c29615fdfe30035f2d4c3a7d2ccf06d6efa9
tree4dd554e21df0d6fff2d4a226c8df8a64c86e53ee
parent69773d855b517ea356c3c02add97893201de2066
New grid type: the trihexagonal tiling, or 'kagome lattice'.

Regular hexagons and equilateral triangles in strict alternation, with
two of each interleaved around each vertex.
https://en.wikipedia.org/wiki/Trihexagonal_tiling

Thanks to Michael Quevillon for the patch.
LICENCE
grid.c
grid.h
loopy.c