Your browser does not support the canvas tag.

Maze Runner

Generates a maze without cycles and shows the longest path.

Let you see the various depths in the maze. Show the currently longest path in the maze.


The maze is constructed by repeatedly finding all doors going from an already explored area to a unexplored area, then randomly choosing x candidates from these. Then the most distant candidate is chosen as the next part of the final maze

Genereate a new maze by specifying the candidate size (setting the size to 1 is equivalent to choosing the next part at random).


Source code: sketch_2014_1221_mazes -- Built with Processing and Processing.js