A blue and red pattern of lines gets generated.

Wave function collapse

May 2017

Overview

An implementation of the Wave Function Collapse algorithm for generating random assortments of tiles that follow rules based on a reference image. Handy for game development and a fun algorithm to program.

Three pixelated patterns are generated in three vertical stripes.