Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ikarth/wfc_python
An implementation of mxgmn/WaveFunctionCollapse in Python
https://github.com/ikarth/wfc_python
procedural-generation python wavefunctioncollapse wfc
Last synced: 1 day ago
JSON representation
An implementation of mxgmn/WaveFunctionCollapse in Python
- Host: GitHub
- URL: https://github.com/ikarth/wfc_python
- Owner: ikarth
- License: other
- Created: 2017-04-21T17:48:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2020-05-14T21:05:32.000Z (over 4 years ago)
- Last Synced: 2024-08-02T05:12:05.200Z (3 months ago)
- Topics: procedural-generation, python, wavefunctioncollapse, wfc
- Language: Python
- Size: 278 KB
- Stars: 139
- Watchers: 10
- Forks: 27
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# wfc_python
An implementation of [mxgmn/WaveFunctionCollapse](https://github.com/mxgmn/WaveFunctionCollapse) in PythonWaveFunctionCollapse 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)!
**An updated, re-implemented version of WaveFunctionCollapse in Python can be found at [ikarth/wfc_2019f](https://github.com/ikarth/wfc_2019f).**