Source code for "The Wavefunction Collapse Algorithm explained very clearly"
Clone or download
Latest commit feedab8 Jan 10, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Dec 17, 2018
LICENSE Add LICENSE Jan 10, 2019
README.md Add README Dec 17, 2018
example.png Add README Dec 17, 2018
main.py Add some colors so you can run `input_matrix2` Dec 24, 2018
requirements.txt Initial commit Dec 17, 2018

README.md

Wavefunction Collapse

This is the example code for my blog post, "The Wavefunction Collapse Algorithm explained very clearly". To install dependencies:

virtualenv vendor
source vendor/bin/active
pip install -r requirements.txt

Then to run:

python main.py

You will get a nice picture of a coastline.

WFC Example