Files
wavefunction-collapse/README.md
2019-07-21 07:35:53 -07:00

20 lines
425 B
Markdown

# Wavefunction Collapse
This is the example code for my blog post, ["The Wavefunction Collapse Algorithm explained very clearly"](https://robertheaton.com/2018/12/17/wavefunction-collapse-algorithm/). To install dependencies:
```
virtualenv vendor
source vendor/bin/activate
pip install -r requirements.txt
```
Then to run:
```
python main.py
```
You will get a nice picture of a coastline.
![WFC Example](example.png)