A simple wave function collapse algorithm. Choose a tile size then press the flag. Press space to show or hide the tile size variable. Turbowarp for the project is here https://turbowarp.org/928434969
The wave function collapse is a simple terrain generation algorithm. To oversimplify the algorithm, it's a bit like the computer is playing sudoku and/or solitaire.