Tilemap terrain generator with wave function collapse algorithm.
I did some reading about the Wave Function Collapse tilemap generation algorithm. Almost everything about the algorithm can be found in Maxim Gumin's github repo. And terrain, city generation wizard Oskar Stalberg's Wave demo helped me to visualize the algorithm.
Then I did this little demo.