#Truchet / bitmasking in 8 bits in progress. The grid is now complete and uses a set of 15 tiles. It's not easy to map the values correctly. Next improvement: move to a 3x3 or larger matrix system to define tiles relations, and draw them dynamically.