by abetusk · 3y ago · 0 comments
The original author of "wave function collapse" also has "convchain" [0] which is similarly "just" using Monte Carlo Markov Chains to sample the space. It's also a kind of "staple" algorithm for physicists, theoretical computer scientists, etc but I guess hasn't caught on as much as WFC.
Note that WFC has major problems when the tile set is too constrained. There's a SO question about it [1] and I also happen to have written a small article about it as well [2]().
[0] https://github.com/mxgmn/ConvChain
[1] https://stackoverflow.com/questions/72721299/why-can-the-wav...
[2] https://www.fxhash.xyz/article/lessons-learned-from-implemen...
(
) trigger warning, it's an NFT but please don't let that stop you from readingThis is not to say that people don't do this or make compromises like running it multiple times, if it fails, but Norvig's solution is doing proper search.
For those reasons I still liked the article.