Miklix

Maze Generators

This is a collection of free online maze generators that I have created. They each include a description of the algorithm they use to generate a maze, allowing you to pick the one you like best - although they all generate valid mazes (that is, mazes that actually have a solution), the mazes they generate can differ quite a bit.

Posts

Growing Tree Algorithm Maze Generator
Published: February 7, 2025 at 4:28:17 PM UTC
Maze generator using the Growing Tree algorithm to create a perfect maze. This algorithm tends to generate mazes similar to the Hunt and Kill algorithm, but with a somewhat different typical solution. Read more...

Hunt and Kill Maze Generator
Published: February 7, 2025 at 4:27:57 PM UTC
Maze generator using the Hunt and Kill algorithm to create a perfect maze. This algorithm is similar to the Recursive Backtracker, but tends to generate mazes with somewhat less long, winding corridors. Read more...

Eller's Algorithm Maze Generator
Published: February 7, 2025 at 4:27:34 PM UTC
Maze generator using Eller's algorithm to create a perfect maze. This algorithm is interesting as it only requires keeping the current row (not the entire maze) in memory, so it can be used to create very, very large mazes even on very limited systems. Read more...

Wilson's Algorithm Maze Generator
Published: February 5, 2025 at 4:25:52 PM UTC
Maze generator using Wilson's algorithm to create a perfect maze. This algorithm generates all possible mazes of a given size with the same probability, so it can in theory generate mazes of many mixed layouts, but as there are more possible mazes with shorter corridors than longer, you will more often see those. Read more...

Recursive Backtracker Maze Generator
Published: February 4, 2025 at 5:11:16 PM UTC
Maze generator using the recursive backtracker algorithm to create a perfect maze. This algorithm tends to create mazes with long, winding corridors and a very long, twisting solution. Read more...

Kruskal's Algorithm Maze Generator
Published: February 3, 2025 at 5:19:46 PM UTC
Maze generator using Kruskal's algorithm to create a perfect maze. This algorithm tends to create mazes with medium length corridors and many dead ends, as well as a fairly straight solution. Read more...


Share on BlueskyShare on FacebookShare on LinkedInShare on TumblrShare on XShare on LinkedInPin on Pinterest