Skip to content
Browser Screensaver

Maze Screensaver

A maze that draws itself. The path you watch being laid is the actual carve order, so it is always a legal route rather than random scribble.

Press F for fullscreen, Esc to exit.

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.

Questions

Is the maze always solvable?

Yes. A depth-first carve produces a perfect maze: exactly one path between any two points, with no loops and nothing walled off.

Does it make a new maze?

Yes. When the current one finishes it holds for a few seconds, fades out, and carves a fresh one on the same grid.

Is this the Windows 3D Maze screensaver?

No. That one walked you through a textured 3D corridor. This is the maze itself, generated and drawn flat, which is a different thing that happens to share the name.

Is the maze screensaver free?

Yes — free, with no account, no download, no watermark and no time limit. It is a web page, so it runs on anything with a modern browser.

How do I stop it or exit fullscreen?

Press Escape to leave fullscreen, or F to toggle it. Space pauses the animation without leaving the page. If you used F11 to hide the browser toolbars, press F11 to bring them back.