Crate wfc_tiled

Source
Expand description

Helper functions to use the Wave Function Collapse algorithm provided by the wfc crate on tile-based maps.

You can load layer CSV files like the ones exported from Tiled, and save the result as another CSV or as a Tiled .tmx file for previewing inside the software.

As the underlying library only works on two dimensions, multiple layers are not supported.

You should start with the TilePattern struct.

Complete examples are provided in the crate’s examples folder.

Structs§

Enums§

Traits§

Functions§

Type Aliases§