Alexis Mabanza @ alexvolkihar.ovh

Truchet

Winged tiles at every scale

A grid of squares is split into four, and the quarters split again, by a rule taken from the hash: plain chance, a drifting noise field, the pull of a few focal points, or the outline of a shape that the tiles fill. Every square then gets one of fifteen winged motifs (quarter-circle arcs, straight bars, dots, T junctions). At each step down in scale the two colours swap and the smaller tiles are laid over the larger ones. Their wings close every gap, so bands and dots of all sizes join into continuous light and dark regions. A colour ladder can shift the pair at each scale, and a gradient can tint the ink. Press New seed for a fresh hash, then share the URL to show someone that exact piece.

All series
0xe1b42349…efed
Palette TerracottaMotifs Smith arcsStructure DriftsColour Two-toneScale Medium
0x4c2c40f6…014f
Palette TerracottaMotifs FrownsStructure ScatteredColour LadderScale Medium
0x9450fd97…5a59
Palette IndigoMotifs FrownsStructure FocusColour LadderScale Coarse
0x84db7809…0559
Palette SageMotifs FrownsStructure DriftsColour GradientScale Fine
0xf61e4033…c996
Palette IndigoMotifs JunctionsStructure DriftsColour GradientScale Medium
0x38c3f377…65fb
Palette InkMotifs FrownsStructure DriftsColour GradientScale Medium
0x244d93ba…c92f
Palette SaffronMotifs All fifteenStructure ScatteredColour Two-toneScale Medium
0x6351d5ba…f474
Palette SageMotifs Smith arcsStructure FocusColour Two-toneScale Fine
0xabb05d69…c7a9
Palette SageMotifs Smith arcsStructure SilhouetteColour Two-toneScale Medium
0x524ae0f7…f305
Palette IndigoMotifs FrownsStructure SilhouetteColour GradientScale Medium
0x24ca904a…00c6
Palette NightMotifs All fifteenStructure DriftsColour Two-toneScale Fine
0x49ec2825…d214
Palette IndigoMotifs All fifteenStructure ScatteredColour Two-toneScale Fine

Traits

The weights were set before any drawing code was written. They were then checked against a census of 2,000 seeds.

TraitValues (weight)
PaletteInk 22 · Indigo 20 · Terracotta 18 · Sage 15 · Night 15 · Saffron 10
MotifsSmith arcs 25 · Frowns 20 · Bars 15 · Junctions 15 · All fifteen 25
StructureScattered 25 · Drifts 30 · Focus 20 · Silhouette 25
ColourTwo-tone 50 · Ladder 30 · Gradient 20
ScaleCoarse 25 · Medium 50 · Fine 25

Credits

  • Truchet tiles: Sébastien Truchet, Mémoire sur les combinaisons (Mémoires de l’Académie Royale des Sciences, 1704), and the quarter-circle variant that Cyril Stanley Smith described in "The Tiling Patterns of Sebastien Truchet and the Topology of Structural Hierarchy" (with Pauline Boucher, Leonardo 20(4), 1987).
  • Multi-scale tiles: Christopher Carlson, "Multi-Scale Truchet Patterns" (Bridges 2018). The winged tile, the inversion of colours at each halving, the drawing of smaller tiles on top, the fifteen motifs and the subdivision fill of a shape (subdivision tested on the winged square) all come from that paper. The code here is my own implementation of it.
  • Subdivision: a quadtree whose splits follow chance, value noise on an integer-hashed lattice, distance to focal points or signed distance functions of simple shapes. Per-tile choices hash the integer cell coordinates, so a wider canvas shows more of the same tiling.
  • Randomness: sfc32 by Chris Doty-Humphrey, seeded from the hash with named sub-streams, following Camille Roux’s genart skill (MIT).
  • The code was written with an AI assistant. It draws everything itself: no AI-generated images.

Artworks © Alexvolkihar, licensed CC BY-NC-ND 4.0. Code under the repository licence (MIT).


>