Overview
Wave Function Collapse keeps possible tiles for each cell, chooses a cell to resolve, and removes incompatible options from neighbors.
Generates layouts by repeatedly choosing low-uncertainty cells and propagating constraints.
Compact metadata for implementation and discovery.
Wave Function Collapse keeps possible tiles for each cell, chooses a cell to resolve, and removes incompatible options from neighbors.
Quick facts
Runtime and memory behavior at a glance.
Best
O(c log c)
Average
O(c r)
Worst
O(c r^2)
Space
O(c r)
Show grid cells losing possibilities until a complete pattern appears.
Wave Function Collapse operates in O(c r) time and O(c r) space within the Constraint-Based Generation family. Often compared with Perlin Noise and Simplex Noise.
What each reference supports for this entry.
Original project reference for constraint propagation over tile adjacency patterns.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Procedural Generation · Core
The simple tiled model is a WFC-style variant based on explicit tile adjacency rules.
Compare with thisProcedural Generation · Specialized
The overlapping model is a specific Wave Function Collapse variant.
Compare with thisBoth generate outputs by satisfying local constraints.
The overlapping model is a specific Wave Function Collapse variant.