Skip to content

robert/wavefunction-collapse

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

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/activate
pip install -r requirements.txt

Then to run:

python main.py

You will get a nice picture of a coastline.

WFC Example