Skip to content

D-T-666/wave-function-collapse-p5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wave function collapse in p5js

This is an implementation of the all mighty Wave Function Collapse Algorithm (overlapping model) in p5.js

A gif of the demo working

How to run:

  • if you have python:
    1. cd into the project directory
    2. run python -m http.server
  • if you're using vscode:
    1. install live preview
    2. when done, click go live button on the bottom of the vscode window

Cool reference:

  1. The original WFC implementation on github
  2. the explanation we followed on grudbugs
  3. Efficient Computation boristhebrave.com
  4. Parallel Wave Function Collapse - Jan Orlowski and Amy Lee
  5. WFC in processing.py - solub on processing.org

Contribute!

  • just fork the repo, and make pr's