#procedural-generation #collapse #wave #function #gamedev

kahuna

A basic implementation of wave-function collapse for procedural generation

3 releases (breaking)

0.3.0 May 8, 2022
0.2.0 May 6, 2022
0.1.0 May 5, 2022

#972 in Game dev

MIT/Apache

24KB
455 lines

Kahuna

Crates.io docs.rs

This crate is a basic extensible implementation of Wave Function Collapse

Features

  • Support for custom grids of arbitrary dimension and topology, as long as there is an upper bound to cell neighbors
  • Basic square grid implementation provided

License

Licensed under either of:

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~305KB