pyamaze
pyamaze copied to clipboard
how to save a maze to image such as png
thanks for your great project
i want save maze to image
If you want to save the maze just run the maze without tracing the path
m = maze(20,20)
m.CreateMaze(saveMaze=True)
m.run()
Afterwards it will generate a .csv file in the folder you may rename it to a convenient name, lets say maze.csv and load using the following :
m.CreateMaze(loadMaze="maze.csv")