Afterglowscreensavers

Wave Function Collapse Maze Screensaver

The Wave Function Collapse Maze screensaver runs a real constraint-solving tile generation algorithm live, the same technique used in modern procedural game generation. It is free, runs in your browser, and ESC exits.

Live preview

Press ESC to leave fullscreen. Settings are saved in your browser only.

How the Wave Function Collapse Maze screensaver works

The saver fills a grid one tile at a time, always picking the most constrained open cell next, exactly like the real wave-function-collapse algorithm.

Each placed tile must match its already-placed neighbors' edges, building a coherent connected maze-like pattern.

Once the grid completely fills, it fades and a fresh generation run begins.

This is the same real constraint-solving approach used in modern procedural game-level generation.

A worked example

A corridor tile snaps into place only where it correctly connects to its already-placed neighbors, gradually resolving into a coherent maze-like layout.

Settings & tips

Frequently asked questions

Is this a real algorithm?
Yes — the real wave-function-collapse constraint-solving algorithm, used in modern procedural generation.
Is a key needed?
No — it is a pure local computation.
Is it free?
Yes — free, no download, in your browser.
Does the layout repeat?
No — each generation run resolves a genuinely different layout.

← All Generative screensavers