Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 897 Bytes

README.md

File metadata and controls

25 lines (14 loc) · 897 Bytes

wfc

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

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

wfc consists of three modules:

  • wfc-core - implementation of the WFC algorithms, fully free of dependencies
  • wfc-openrndr - collection of wrappers and extension methods to simplify use with OPENRNDR
  • wfc-demo-openrndr - collection of OPENRNDR based demos

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.