Home

Awesome

WFC-Gen

Wave Function Collapse in Haxe/OpenFL.

Originally I decided to write this for learning purposes so there may be some implementation details that differ from the original as well as improvements that could be made.

Examples of what this is and does can be found at the original link: https://github.com/mxgmn/WaveFunctionCollapse

To anyone that wants to try implementing it themselves, I highly recommend reading the original page, this research paper by Isaac Karth and Adam M. Smith, and this blog post.

Thanks to Isaac Karth as well for shedding light on some of the finer details, tips on debugging, and suggestions whenever I got stuck.