Overview
Wang tiles assign colors or labels to tile edges and allow adjacent tiles only when touching edge labels match. This local rule can generate large nonperiodic textures, maps, or patterns from a finite tile set.
Generates tiled patterns by matching edge colors between neighboring tiles.
Compact metadata for implementation and discovery.
Wang tiles assign colors or labels to tile edges and allow adjacent tiles only when touching edge labels match. This local rule can generate large nonperiodic textures, maps, or patterns from a finite tile set.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n)
Average
O(n log n)
Worst
O(n^2)
Space
O(n)
Show placing edge-colored tiles so neighboring colors match on a small nonperiodic tiling example.
Wang tiling is local; additional constraints are needed for global structure.
What each reference supports for this entry.
Procedural texturing reference for tile-based nonperiodic pattern generation.
Reference for stochastic Wang-tile assembly, edge-color matching, and nonperiodic texture generation.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Both generate patterns from tile-adjacency constraints.
Wang tile compatibility is closely related to WFC-style adjacency constraints.
Both are practical tile systems for procedural nonperiodic patterns.