Skip to content

davidaragoncode/wave-function-collapse-demo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wave Function Collapse

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.

Examples

screenshot1 screenshot2 screenshot3

Compile and Run

cargo build --release
cargo run --release images/inputimage1.png

Dependencies: SDL2

Helpful resources

These are some sources that I found helpful when researching how to implement the algorithm.

About

My attempt at recreating the Wave Function Collapse Algorithm

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 100.0%