Generating a maze

I'm sure there are some great algorithms for generating mazes, but I rolled my own for the fun of it. Might be the basis for a game, or for generating a design for the laser cutter. The maze shown below is round, but the code is written so that it could be any shape the developer provides.

How would you randomly generate a maze?

Comments are closed.