#TruchetBounds / Apocalyptile / a random mix of two sets of #truchet tiles with a bitmasking detection.

#pattern #tiling #vector #generativeart

#TruchetBounds / work in progress

After several fails to find a good way for randomly filling a grid with truchet tiles, I discovered a vintage videogame technique called #bitmasking

> Evaluate a tile value from its cardinals neighbors 1,2,4,8.
The basic tiles set consists in only 6 tiles with rotation, determined by the tile value.
Seems promising.

#pattern #truchet #tiling

#TruchetBounds / work in progress / trying to define the boundary of a random truchet cluster. Due to obvious complications in holes, deadends and gaps, these configurations are filled with a full tile (x) on the fly. Boundaries detections work great so far.

#truchet #genart #grid #tiling #pattern