Skip to content

LukeThayer/WaveCollapse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

2-D Wave collapse function WIP

Goal:

given an NxM size grid the algorthim will populate the grid with tiles using the wave collapse function

Input

User must provide a set of tiles labeled with sockets in the form JSON

Algorthim

The program first assigns every space of the grid a superposition containing all possible tiles then at random chooses a tile and gives a random tile. Then iterates the superposition of the surrounding tiles to only contain valid superposition values bbased on the sockets of the placed tile.

About

My take at wave collapsing for sprites

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors