Skip to content
Gallery Series 09 2026

Maze

Watch a maze build itself, search its branches and find the one route through.

A maze builds itself, explores its passages and finds a route through a slowly changing matte gradient

Maze controls

Focus the artwork: Space to pause, N for next, F for fullscreen.
Open Maze controls to choose a seed, algorithm or speed. Canvas 2D + Web Workers

Recursive Backtracker, Randomized Prim and Randomized Kruskal build the maze. A*, Dijkstra and breadth-first search explore it. Each pair of cells has one route between them, so the algorithms differ in how they find it.