This repo creates GIFs that visualize a recursive backtracking maze generation algorithm. It also includes a class that can generate GIFs, even though it probably would've been easier to find a library for doing that sort of thing.
samcoppini/Maze-Gifs
Something I made a while back to visualize a maze generation algorithm
PythonBSL-1.0