A pixel nostalgia map created using the wave function collapse algorithm and p5js. This project features an 8x8 tileset.png, with each tile hand-drawn by me. The number of tiles in each map is randomly generated, with higher numbers being more rare. Additionally, each map is given a randomly generated name for added uniqueness.
The process of creating these maps involves generating a grid and selecting a random starting point. From there, the algorithm checks the entropy of nearby cells and collapses the one with the least entropy to a tile based on its weights in probabilities. This process continues until the entire grid is filled with tiles, resulting in a unique and nostalgic pixel art map.
I was inspired to create this project after watching Coding Train's tutorial on WFC, and I wanted to put my own spin on it by incorporating my own hand-drawn tiles and adding a random name generator. This project was a fun and challenging way to explore the possibilities of generative art and I am excited to see what other creations I can come up with using this algorithm.