Skip to content

jsmithb117/Wave-Function-Collapse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wave-Function-Collapse

Straight out of quantum mechanics, Wave Function Collapse is an algorithm for procedural generation of images. In this video (recorded over 3 live streams) I attempt the tiled model and explore a variety of solutions to the algorithm in JavaScript with p5.js.

GIF animation of WFC algorithm

Plan

Completed

Corrections

  • Additional Rules for tiles 4 and 5
  • Explain how Computed Property Names could have been used (see: CodingTrain#35)

Next Steps and Refactoring

  • Filter out redundant tiles
  • Recursive entropy reduction
  • Shannon entropy

Future work

  • Overlapping model

Related work

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.4%
  • GLSL 22.9%
  • HTML 3.7%