#tiled #user #collapse #wave #algorithm #level #generate

simple-tiled-wfc

A simple library which lets a user to use a tiled Wave Function Collapse algorithm implementation

3 releases

0.7.7 Aug 14, 2021
0.7.5 Aug 3, 2021
0.7.4 Aug 3, 2021

#15 in #tiled

36 downloads per month

MIT license

205KB
1K SLoC

simple-tiled-wfc

A Rust library which allows a user to generate tiled levels with a simple implementation of Wave Function Collapse algorithm.

To run examples, ensure that you run them with a working directory equal to %REPOSITORY_PATH%/examples, or copy assets folder into target directory.

You may also look at ply-generator

Or, if you are happened to have a legal GOG copy of Rage Of Mages game (also known as Аллоды: Печать тайны), you can also examine a more complex example here

Dependencies

~23MB
~287K SLoC