by nico · 2y ago · 0 comments
> Another idea would be to render tiles and modifying the tiles content by just modulating the bit fields or map a set of tiles differently or do simple transforms using bitwise operations such as mirroring, once you have a complete set of tile operations you can combine them to compose detailed patterns / images, ones could also animate tiles individually by switching values in a cyclic fashion…
Could something like the wave function collapse algorithm[1] be used for this, ie. generating tiles that are similar to a certain base pattern?
The author of the GitHub repo is a pretty successful game author and has used it many times for his games
Here’s a talk by him talking about procedural generation using wave function collapse: https://m.youtube.com/watch?v=0bcZb-SsnrA