Maze image

Draw another maze

Geek speak: The maze is generated by a C# class using a straightforward recursive algorithm that avoids creating loops. The RGB coloring varies smoothly with the X and Y coordinates and also with the distance from the start. The rendered image is delivered via a custom HttpHandler; the only tricky bit was getting the right settings in the web.config file so it works both on IIS 7.0 and the built-in web server in Visual Studio 2008. I need to up the stack size on the server or implement some bounds checking on the size, so don't manually pass in anything huge yet :)

I've already coded additional functionality into the maze that just needs to be exposed -- coloring options, showing the solution, etc.

For now, just generate a few mazes and enjoy the colorful patterns!