https://s3-us-west-2.amazonaws.com/secure.notion-static.com/4a0aaae2-d4fb-491c-831d-55b9c73be2bb/687474703a2f2f692e696d6775722e636f6d2f734e75425653722e676966.gif

Image source: https://github.com/mxgmn/WaveFunctionCollapse

Learning resources

Generating Worlds With Wave Function Collapse

Zelda WFC

Superpositions, Sudoku, the Wave Function Collapse algorithm.

Code examples

C# and a lot of links:

mxgmn/WaveFunctionCollapse

P5:

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

Javascript:

kchapelier/wavefunctioncollapse

Interactive learning example:

Wave - by Oskar Stålberg