Help on Maze Generator

This website generates what is called "perfect" mazes, i.e. mazes with exactly one solution and without any isolated sections. The generated maze is displayed on the screen, but you can also download it as a PDF, SVG or PNG file.

Shape

Currently, there are four shapes available:

Rectangular Maze

Style

Currently, there are three styles available:

Width and Height

The width and height describes how many cells the maze should consist of. They must be between 2 and 200. Please note that the proportions of the maze also depend on the style of the maze.

Inner Width and Inner Height

The inner width and inner height describes how many cells the optional central room should consist of. They must be between 2 and the current width or height minus 2. Please note that the proportions of the central room also depend on the style of the maze. If you do not want a central room, set both inner width and inner height to 0.

Circular Maze

Outer diameter

The outer diameter describes how large the maze should be. It must be between 5 and 200 cells.

Inner diameter

The inner diameter describes how large the central room should be. It must be at least 3 cells and at most 2 cells smaller than the outer diameter. Another limitation is that the difference between the outer and inner diameters must be an even number of cells. But don't worry, the numbers will most of the time be auto adjusted to something that works.

Triangular Maze

Side Length

The side length describes how many cells long the triangle's sides should be. It has to be between 3 and 200 cells.

Inner Side Length

The inner side length describes how many cells long the optional triangular central chamber's sides should be. It has to be at least 3 cells but the difference between the side length and the inner side length also has to be evenly dividable by three. The system will try to adjust this value to something that is valid. If you do not want a central chamber set this value to 0.

Hexagonal Maze

Style

Currently, there are two styles available:

Side Length

The side length describes how many cells long the hexagon's sides should be. It has to be between 1 and 120 cells.

Inner Side Length

The inner side length describes how many cells long the optional hexagonal central chamber's sides should be. It has to be at least 1 cell but also has to be at least one cell smaller than the side length. The system will try to adjust this value to something that is valid. If you do not want a central chamber set this value to 0.

Starts at

The standard setting is that the maze starts at the top and, consequently, finishes at the bottom (or the center if it is a circular maze). You can reverse this so that the maze starts the bottom or center, and ends at the top. This actually makes a difference even though it isn't immediately obvious. The algorithm that creates the maze is designed to make the maze harder to solve if you start at the designated starting point. So if you are planning to make something like "Help Max find his dog" you should place Max at the point you have selected as the starting point and the dog at the other end.

Advanced settings

These settings control the maze generation algorithm. But since the generation algorithm uses a good random number source they will not guarantee that the maze has a specific style. I.e. setting the E-value to 100 will not necessarily generate an elitist maze every time.

Printing

It is, of course, possible to print the maze by just printing the web page or by right-clicking the maze and select "Print image...". However, you will get much better print quality by downloading the PDF file (in a suitable page format) and print it instead. The reason for this is that the maze is stored as a vector image in the PDF file and as such it will scale to your printer's resolution without losing sharpness.

Return to the maze generator


Copyright © 2017 JGB Service