I just made my wave function collapse project #OpenSource in #rustlang at https://github.com/AustinHellerRepo/WaveFunctionCollapse.
It features the ability to setup a graph of nodes, specify which node states are permitted given the current state of a node, and two different collapse algorithms depending upon your need.
This image shows how it can be used to generate landscape from the included #rust example. There are three other examples showing how it would be used in common scenarios. Any and all feedback is welcome.
My next goal is to incorporate the wave function collapse crate within a #bevy app to demonstrate how to generate entities, similar to the landscape or sparse example.
It's now out on crates.io at the following URL: https://crates.io/crates/wave-function-collapse
I've added a new algorithm to my #opensource #rustlang wave function collapse project that showcases the same functionality found in https://github.com/mxgmn/WaveFunctionCollapse. Now you can generate an image (or anything) from an existing example using the EntropicCollapsableWaveFunction struct.
Feel free to play around with it.
https://github.com/AustinHellerRepo/WaveFunctionCollapse
https://crates.io/crates/wave-function-collapse