Wavefunction Collapse

One of the reasons for brooming my editor project was because I wanted to use it to visualise some tests with procedural generation. I’ve just finished a basic implementation of wavefunction collapse (specifically the python port using numpy that you can find here) and have wrapped it with a plugin so I can resolve the collapsed wave using models and prefabs (in this case a wonderful set of free sci-fi tiles that you can check out here).

The results aren’t incredible at the moment - this is mainly because writing out constraints for every single tile tends to be a very dull process - so I don’t expect anyone to consider this a playable level for anything unless they squint. Still it’s a fun toy to play with.



8 Likes

Some new tests with some nicer art and better constraints.

Shout out to Low Poly Dungeon Asset Pack by Miguel Lobo for the amazing asset pack.




3 Likes