Hat Substitution Rules
Hat tilings are generated by a hierarchical substitution system with
4 metatile types:
H - Reflected hat cluster
T - Triangle cluster
P - Parallelogram cluster
F - Hat cluster (forward)
Each metatile subdivides into specific arrangements of smaller metatiles, creating an infinite hierarchy.