Wave Function Collapse - has anyone done it with Grasshopper?

I’ve been wanting to implement WFC in grasshopper for a while now, here is my take. You have to define all the module adjacency constraints manually and its limited to 2D. It tends to fail a bit for large grids, but it should reach a solution given enough attempts. wfc_0.10.gh (324.3 KB)