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.
Currently, there are four shapes available:
- Rectangular – The outer borders of the maze will roughly form a rectangle. The cells making up the maze can have three different styles; squares (an orthogonal maze), hexagons (a sigma maze) or triangles (a delta maze). This is the original mode of this website and will be familiar to those that has used it before.
- Circular – The outer borders of the maze will form a circle. This is also called a theta maze.
- Triangular – The outer borders of the maze will form a triangle. The cells used in this maze are all triangular, i.e. it is a delta maze.
- Hexagonal – The outer borders of the maze will form a hexagon. The cells used in this maze are all triangular, not hexagonal as one might think. I.e. it is a delta maze.
Currently, there are three styles available:
- Orthogonal (Square cells) - The most common format, where cells have passages intersecting at right angles.
- Sigma (Hexagonal cells) - A maze composed of interlocking hexagons, where each cell may have up to six passages connected to it.
- Delta (Triangular cells) - A maze composed of interlocking triangles, where each cell may have up to three passages connected to it.
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.
The outer diameter describes how large the maze should be. It must be between 5 and 200 cells.
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.
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.
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.
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.
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.
- E-value - Controls the elitism tendency of the generation algorithm. An elitist maze has a short solution relative to the size of the maze, while a non-elitist has a solution going through a larger portion of the maze.
- R-value - Controls the river tendency of the generation algorithm. A maze with a high river factor has few but long dead ends, while one with a low river factor will have many short dead ends.
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