Maze generation visualization in vanilla JavaScript Try https://pakastin.github.io/maze Algorithm https://en.wikipedia.org/wiki/Maze_generation_algorithm#Randomized_depth-first_search