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.
- Wave Function Collapse video
- Wave Function Collapse algorithm source
- Wave Function Collapse Processing forum discussion
- Implementation of Tile Model (see: https://youtu.be/rI_y2GAlQFM)
- Additional Rules for tiles 4 and 5
- Explain how Computed Property Names could have been used (see: CodingTrain#35)
- Filter out redundant tiles
- Recursive entropy reduction
- Shannon entropy
- Overlapping model
- WFC using local storage by @kfahn22.