This has L-systems for filling the plane with hats and spectres. It's a little ugly and slow because it keeps redrawing tile edges but it does the trick; it's compact enough that I managed to get the bbc micro bot to draw the spectres with a toot's worth of code
And this one draws the self-avoiding curve made by the F-clusters in the hat monotiling. It works slightly differently using a stack, which avoids some of the overdrawing in the systems above.
https://trinket.io/python/108e28ab75
This has L-systems for filling the plane with hats and spectres. It's a little ugly and slow because it keeps redrawing tile edges but it does the trick; it's compact enough that I managed to get the bbc micro bot to draw the spectres with a toot's worth of code
https://hachyderm.io/@[email protected]/11046800551...
And this one draws the self-avoiding curve made by the F-clusters in the hat monotiling. It works slightly differently using a stack, which avoids some of the overdrawing in the systems above.
https://trinket.io/python/df6f9fa4db