pyamaze icon indicating copy to clipboard operation
pyamaze copied to clipboard

how to save a maze to image such as png

Open cx4 opened this issue 3 years ago • 1 comments

thanks for your great project

i want save maze to image

cx4 avatar Aug 18 '22 15:08 cx4

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") 

RivaldoMoz avatar Jan 31 '25 16:01 RivaldoMoz