What the maze screensaver is
The maze is generated with a randomised depth-first walk: pick an unvisited neighbour, knock the wall down, move there, and back up when you are boxed in. That produces a perfect maze — exactly one route between any two cells, with no loops and no isolated pockets.
The same walk is then replayed as the animation, which is why the drawing never jumps to a disconnected part of the grid. When it finishes, the maze sits for a moment, fades, and a new one starts.
- A quietly hypnotic idle screen that always changes
- A demonstration of maze generation running live
- A background with steady, low-contrast motion
Maze generator screensaver, drawn live
Draw speed controls how many cells are carved per second. Slow enough and you can follow the walk backing out of dead ends, which is the interesting part.
The line colour takes any hex value, and is written into the URL along with the speed.
How to run the maze screensaver full screen
Press the fullscreen button on the player, or the F key. Escape brings you back to the page. On a desktop browser F11 does the same job and hides the browser’s own toolbars as well, which is what you want on a display that is going to be left running.
Everything you change in the settings is written into the address bar as you change it, so the version you have set up is a link. Bookmark it, or send it to whoever is running the screen. Space pauses and resumes at any time.