Skip to content

hans-min/wave-function-collapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wave Function Collapse

Wave Function Collapse (WFC) by @exutumno is a new algorithm that can generate procedural patterns from a sample image. It's especially exciting for game designers/developers, letting us draw out our ideas instead of hand-coding them. pipes

circuits

Inspired by this Youtube video by Dan Shiffman from Coding Train, I recreated the algorithm using JavaScript with p5.js, with a few optimization of my own.


  • Attempting to create 3D procedural map using WFC