- Calculate tile adjacencies.
- Generate a grid where each cell has the attribute collapse set to false.
- Wave propagation:
- Choose a random cell with minimum entropy and collapse it.
- Recalculte the entropy of the rest of the grid.
- Repeat until all cells are collapsed.