Circle Maze Generator — Polar Mazes You Can Print
A polar maze replaces up, down, left and right with inward, outward, clockwise and anticlockwise. The rings are generated as one spanning tree, so the single-solution guarantee survives the change of geometry.
Maze maker
A preset sets the grid size and the algorithm together.
20 × 20 cells
The seed is written into the URL, so a reload — or a shared link — restores this exact maze.
This page’s maze, measured
A fixed seed (410009) on a 8 rings built with the Recursive backtracker. Every number below is computed from this maze at build time, then printed unchanged.
- Cells
- 169
- Open passages
- 168
- Dead ends
- 16
- Junctions
- 14
- Shortest solution
- 110 steps
- Mean branching
- 1.99
Answer key
The same maze with the shortest path drawn through it. The print button in the tool prints this key on its own page.
Open the tool above with the same seed and press Print to get a clean worksheet plus this key, or Download SVG for a vector copy.
How the circular maze works
A polar maze is a grid in polar coordinates: the innermost cell is a disk, and each ring outward is divided into cells whose angular width shrinks as the radius grows. Movement has four directions instead of four sides — inward, outward, clockwise and anticlockwise — and the wall between two neighbouring cells is a radial segment or an arc of a circle.
The generation problem is the same as on a rectangle: build a spanning tree over the cell graph. What changes is the ring arithmetic. Ring sizes here grow by a factor of eight at the centre and then by two or one per ring, so each inner cell always has a whole number of outward children and every shared boundary can be drawn as an exact arc.
- The start is the centre disk; the finish is the cell furthest from the centre along the maze, so the solution winds through most of the rings.
- Arrow keys move the player: left and right travel around a ring, up and down move inward and outward.
- The size slider controls the number of rings, not the number of cells across. Twenty-four gives roughly eight rings.
- Print one maze per page. Circle mazes take more room than rectangles because the corners of the sheet stay empty.
Why arcs need their own wall logic
On a rectangular grid a wall is always one segment shared by exactly two cells. In a polar grid the boundary between ring r and ring r + 1 is shared by one inner cell and two outer cells when the ring doubles, so the arc has to be split in half and each half opened or closed independently. That is why this renderer owns outer arcs per inner cell rather than per pair of cells.
Despite that, the maze is still a spanning tree: 1 connection fewer than cells, no cycles, exactly one route between any two cells. The unit tests assert that for every ring count and every algorithm, not just for the presets on this page.
Frequently asked questions
What is a circular maze called?
A polar maze, a theta maze, or a circular maze. The cells are sectors and annuli instead of squares, and movement is around the rings or between them.
Is the circle maze harder than a square maze?
It is different rather than harder. The solution is usually shorter in steps because every cell has fewer neighbours on average, but the geometry makes it much easier to lose track of where you have been.
Can I print a circular maze at a large size?
Yes. The export is vector SVG, so it scales to A3 or larger. One maze per page is the practical choice because a circle wastes the corners of a sheet.