Skip to content

Uses wave function collapse to generate a color map. My first time experimenting with WFC.

License

Notifications You must be signed in to change notification settings

vqxel/WaveFunctionCollapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Init

pip3 install Pillow
pip3 install numpy

Color Map WFC Algorithm

Run color_map_wfc.py after installing Pillow and numpy. Last generated map will be pushed into the out folder as map.png.

Side Constraints WFC Algorithm

Run rng_world.py after installing Pillow and numpy. Last generated map will be pushed into the out folder as map.png. Edit the tiles, constraints.json, seed in world_seed.json, and the code in rng_world.py that mentions the names of the nodes in order to add, remove, or edit nodes in any way.

Original Explicit Constraints WFC Algorithm

Unsupported. It might still work but I won't really put work into fixing it anymore since it's not the algorithm I intend to continue using and isn't optimal at all.

About

Uses wave function collapse to generate a color map. My first time experimenting with WFC.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages