robert / wavefunction-collapse

The Wavefunction Collapse Algorithm explained very clearly
https://robertheaton.com/2018/12/17/wavefunction-collapse-algorithm/
The Unlicense
290 stars 45 forks source link

Certain matrix will cause assertion error every times. #5

Open weishc opened 4 years ago

weishc commented 4 years ago

input_matrix = [ ['L','L','L'], ['L','C','L'], ['C','S','C'], ['S','S','S'], ]

robert commented 4 years ago

Weird! I guess some jitter/randomness could be added somewhere to try and overcome this.