Home

Awesome

wfc

A wave-function collapse (WFC) library in Kotlin.

Implements 2D and 3D overlapping and tiling WFC models.

wfc consists of three modules:

Quick start

Clone project, open in IntelliJ, run WFCDemo001 in wfc-demo-openrndr.

Expected outcome of WFCDemo001

In wfc-demo-openrndr you will also find AVDemo002 which demonstrates a 3D version of the WFC algorithm.

AVDemo002 Demo

Attributions

This mostly follows the C# implementation in https://github.com/mxgmn/WaveFunctionCollapse.