← The Lab Idiot

Wave Function Collapse

Collapse entropy, propagate constraints and watch worlds assemble themselves.

What is this?

An interactive Wave Function Collapse toy. It fills a grid with tiles by repeatedly choosing low-entropy cells and enforcing neighbor compatibility.

How it works

Each cell starts with many possible tiles. When one option is chosen, incompatible options are removed from neighboring cells, and that propagation continues until the grid is solved or contradicted.

Open it →