A maze is a puzzle: branching passages, dead ends, and a way through. Pick a shape (square, circle, triangle, hexagon, star or heart) and an algorithm, and a new maze draws itself. Find your way with the arrow keys or your finger, or let the computer show you. Curious how it works? Read about mazes.
Solve
Arrow keys (or WASD) move the dot. On a circle, up goes toward the center; on a triangle or a star, up and down cross the flat side of the cell; on a hexagon, up and down try both slanted sides. Or drag the dot with your mouse or finger.
Maze
Algorithm
Look
Save
Downloads include the solution when it is shown. The address of the page keeps the seed, so a link brings back the same maze.
How the maze is made
Start with every wall standing, then knock walls down until every cell can be reached, but never so many that a loop appears. What is left is a perfect maze: exactly one path between any two cells. The Loops slider then opens some of the dead ends, so there is more than one way through.
Why the algorithms look different
All seven make perfect mazes, but each picks the walls in its own way, and it shows. Try the same seed with each one, and turn on Color by distance to see how far every cell is from the entrance.