Truchet Tiles and Eighteenth-Century Combinatorics
In 1704, Sébastien Truchet published Mémoire sur les Combinaisons, an exploration of patterns formed by square tiles divided along the diagonal into two colored regions. Truchet, a French priest and typographer, approached the problem with combinatorial rigor, counting the distinct ways tiles could be arranged and noting how simple local rules propagated through the grid to generate complex global patterns. His work predated modern combinatorics by a century but embodied its principles. The tiles lay dormant in obscure mathematical literature until Cyril Stanley Smith, a metallurgist and historian of science, rediscovered them in 1987 while researching structural hierarchy and topology. Smith's paper for Leonardo connected Truchet's patterns to Islamic and Celtic decorative traditions, showing how directional choice at the tile level produced emergent structures resembling flow fields, labyrinths, or woven textiles. The paper positioned Truchet tiles as a bridge between eighteenth-century geometric curiosity and twentieth-century computational design, where algorithmic generation of constrained variation became a central method.
The connectivity of Truchet tilings can be analyzed through percolation theory, treating each tile as a bond in a diagonally-oriented lattice. At critical probability, the patterns oscillate between fragmentation and connectivity, producing labyrinths that shift between isolated chambers and continuous pathways depending on the randomness of tile orientation. This property makes Truchet patterns useful for modeling flow networks, material porosity, and biological growth. The computational appeal comes from the simplicity of the rule set. A single line of Commodore 64 BASIC became a canonical example of generative art: 10 PRINT CHR$(205.5+RND(1)); : GOTO 10. The program outputs either a forward slash or backslash character at random, filling the screen with a maze-like pattern that approximates Truchet's diagonal tiles. Nick Montfort considers this line a concrete poem, where the code's brevity and the visual output converge into an aesthetic statement about chance and structure. The elegance lies in how much emerges from how little.
for (let r = 0; r < rows; r++) {
const row = [];
for (let c = 0; c < cols; c++) {
row.push(Math.random() < 0.5 ? 0 : 1);
}
grid.push(row);
}
Modern variations extend Truchet's diagonal split into arc-based tiles, triangular subdivisions, and multi-directional line patterns. The arc variant, which replaces the diagonal with two quarter-circle segments, generates flowing organic paths reminiscent of rivers or circuit traces. Triangular tiles introduce color contrast, splitting each square into complementary regions that emphasize figure-ground relationships. Diagonal line patterns layer multiple parallel strokes within each tile, creating moiré effects when tiles interact. The implementation here cycles through these three modes, randomizing tile orientation on each generation. A slow animation flips individual tiles over time, demonstrating how small local changes ripple through the grid to alter global topology. The palette shifts between monochrome, earth tones, and high-contrast neon, showing how color choice influences the perceived density and rhythm of the pattern. The code's simplicity mirrors Truchet's original approach: define a small set of tile states, randomize their distribution, and let spatial adjacency do the rest.
Truchet patterns occupy a unique position in the history of generative art because they emerged before computers existed to execute them. Truchet worked by hand, drawing and counting permutations, but his method anticipated the algorithmic thinking that would dominate computational creativity three centuries later. The tiles demonstrate that generativity is not tied to digital tools but to a conceptual framework where local rules and randomness combine to produce emergent complexity. Contemporary artists use Truchet patterns in textile design, architectural facades, and data visualization, often layering multiple grids or varying tile scale to introduce hierarchy. The patterns resist resolution into stable forms, maintaining a tension between order and disorder that makes them visually restless yet structured. They serve as a reminder that the most durable design systems come from constraints rather than freedom, where limiting the vocabulary of elements paradoxically expands the range of expression. Truchet's eighteenth-century curiosity about combinations became a foundational example of how simplicity and variation can coexist productively.
Links. Visualization · Gallery Index · Truchet tiles · C.S. Smith paper
← Back to main page