Skip to content
An implementation of mxgmn/WaveFunctionCollapse in Python
Branch: master
Clone or download
Latest commit 9d14cdc Feb 26, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples samples Apr 14, 2017 Update license Apr 21, 2017 spelling Feb 12, 2018 Merge branch 'cleanup' Feb 26, 2018


An implementation of mxgmn/WaveFunctionCollapse in Python

WaveFunctionCollapse is an algorithm that generates bitmaps that are locally similar to the input bitmap. This is a translation into Python, based on the original implementation in C#.

This implementation has only had minimal testing and optimization (for example, it uses arrays of ints in places where the original C# code uses bytes). It can probably be sped up quite a lot. I can't promise I'll fix any issues any time soon, but if you run into anything please go ahead and report an issue (or submit a pull-request)!

You can’t perform that action at this time.