Wave Function Collapse.

I started playing with a wave function collapse algorithm to rotate and connect tiles.

back to coding projects

Plant Growing

This was my first attempt at wave function collapse. It's a test trying to connect plant stems using a simple ruleset.

Catdog

My second test is better at restarting if it approaches failure connecting. It also runs a pathfinding test at the end and clears all tiles that don't connect.

Hiking

This was my final test before switching to working in C#/Unity. I've started playing with the idea of making a randomly generated maze or map, then checking if it is solvable.