Wave Function Collapse (WFC) 2D Generator's icon

Wave Function Collapse (WFC) 2D Generator 1.0 2D Tools 4.1 Community

Submitted by user Mazzel; MIT; 2024-01-14

This is a wave function collapse implementation for Godot in C#.

Please refer to Examples on how to use. basically you need 2 tile maps. one to create a new map on (target) and one to use as a sample on how the tiles are used (sample).

Features:

Create map based on a sample
Different match levels are possible (through changing MATCH_RADIUS)
Multi-threading
Possibility analysis from sample
Fail correction (Generation will not fail anymore!)

(Used tile-set is from Kenney with a CC0 license)


View files Download Submit an issue Recent Edits