This is awesome, thanks for sharing! The rainbow coloring is an interesting technique for visualizing the structure of mazes.
For those interested, I wrote a similar maze generation tool in Python which includes implementations of Kruskal's algorithm, Prim's algorithm, and recursive backtracking, and can output similar images. https://github.com/jpwright/maze.py