# Truchet & Wang Tiling **Track:** Advanced Generative Art — Advanced Creative Coding — proposed (50) **Framework / surface:** p5.js **Level:** Medium **Prerequisites:** Nested Loops & Grids, Transformations & the Matrix Stack **In one line:** Edge-matched / non-periodic tilings from a tiny tile set. ## Theory, aesthetics & inspiration Truchet tiles—named for Sébastien Truchet, whose 1704 Mémoire enumerated the patterns made by rotating a single split square—generate vast visual variety from one decorated tile and a rule for its orientation. Cyril Stanley Smith revived them for modern readers in 1987, framing tiling as a study of order and disorder. Wang tiles, proposed by Hao Wang in 1961, match on colored edges and can be made to tile the plane only aperiodically, a result entangled with the undecidability of the domino problem. The aesthetic is emergent labyrinth: maze-like continuity from local constraints, the appeal being how little information yields how much structure. Constraint as generator.