Skip to content

lucianchauvin/WaveFunctionCollapse

Repository files navigation

WaveFunctionCollapse

Credit and idea comes from: https://github.com/mxgmn/WaveFunctionCollapse

Generates all posible states and adjacencies. Iterates through a 2D array, collapsing the wave funcion (obeserving a state) at each position and placing the observed state at the position. Wave function collapse takes the idea of the wave function, a mathematical representation of the state of a quantum system, and applies it to the generation of 2D tile-based maps. In this project, an wave is taken in and analysized. Then the rules of the input wave are used to generate a new wave creating the beautiful images to the left from sample input images. This project was heavily inspired by the work of Max Gumin.

Examples

Input Output
alt text alt text
alt text alt text
alt text alt text
alt text alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages