Three Collapse
Procedural worlds from adjacency rules.

Three Collapse implements three-dimensional Wave Function Collapse with Three.js and TypeScript. Local rules describing which tiles can meet become the basis for generating larger spatial arrangements.
Designing the rules
The adjacency builder previews tile pairs and exports reusable rules. Generation runs in workers, with voxel and model-based display modes for moving between simple tests and more detailed worlds.
Six-way adjacency supports constraints above, below and across the grid. Instanced rendering makes repeated models practical within the browser scene.
Modular assembly
The model generator assembles the repository’s modular pieces.













































