Maze Tree Surgery

Click a cell to regrow its subtree
Click any cell to select a node in the spanning tree. The subtree rooted at that node (toward leaves, away from entry) is erased and regrown randomly. The maze remains a perfect maze.