4 ms·
I came up with some L systems for drawing hats and spectres based on the metatiles eg https://trinket.io/python/274cc18bd5 https://trinket.io/python/274cc18bd5
by bazzargh 2y ago
I came up with some L systems for drawing hats and spectres based on the metatiles eg
https://trinket.io/python/274cc18bd5 https://trinket.io/python/274cc18bd5
https://trinket.io/python/108e28ab75 https://trinket.io/python/108e28ab75
(the second program has a bunch of variant versions)
this cheats a little: it turns out you always want to draw the H8 metatile (which will overlap) instead of keeping track of the zoo of metatiles. And the flipped hat is never drawn; it appears as a hole in the plot. Similar things happen with the spectre.
This was all done so I could make a program small enough to fit in a toot to generate patches using the bbc microbot:
https://mastodon.me.uk/@bbcmicrobot/110295593252210445 https://mastodon.me.uk/@bbcmicrobot/110295593252210445
(also for hand drawing hats, use a hexagonal grid under your tracing paper, since it's just an assembly of kites)
- gilleain 2y agoThanks, I'll try the L-system. I did try drawing on triangulated grid paper (dual to hex grid), which helped a little.
- fanf2 2y agoVery nice! Have you seen Simon Tatham’s articles on Penrose tiles, Hats, and Spectres? https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/aperiodic-tilings/ https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/aperi... https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/aperiodic-spectre/ https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/aperi...