This is my attempt at recreating the wave function collapse algorithm in Rust, however this implementation is not particularly fast or optimized at the moment.
This implementation wraps the input and output image at the edges.
cargo build --release
cargo run --release images/inputimage1.png
Dependencies: SDL2
These are some sources that I found helpful when researching how to implement the algorithm.