Skip to content

Releases: jasondemps1/WaveFunctionCollapse

Initial

28 Apr 01:01

Choose a tag to compare

Initial Pre-release
Pre-release

WaveFunctionCollapse v0.1

My WaveFunctionCollapse implementation in C++. Currently only the SimpleTiledModel.

Installation

Extract the zip file anywhere.

Running

The executable takes 3 arguments:

  1. Path to example map file (assets/example_map/testmap.csv)
  2. Path to output rng maps (assets/output_maps)
  3. Path to colormap file (assets/example_map/testmap_colors.txt)

PowerShell:

.\WFC.exe .\assets\example_map\testmap.csv .\assets\output_maps .\assets\example_map\testmap_colors.txt

Extras

  • assets/example_map/testmap.json - is a Tiled editable map
  • assets/example_map/colors.png - Used to build test map in Tiled.