The source code for these demos is freely available at http://github.com/jamis/csmazes.
"Hunt and Kill" Algorithm
Growing Tree Algorithm
E.g. random:50, newest:30, oldest:75, middle:100, or any comma-delimited combination of those.
You must click "reset" before the maze will recognize your changes.
Binary Tree Algorithm