Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

README.md

WaveFunctionCollapse

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.

About

Simple WaveFunctionCollapse implementation. Created for understanding and learning! Based on: https://robertheaton.com/2018/12/17/wavefunction-collapse-algorithm/

Topics

Resources

Packages

No packages published

Languages

You can’t perform that action at this time.