press "Space" to clear the board and launch a new 3D maze and press "A" to hide or unhide maze texture borders
You can see an application of the same algorythm in 2D here. You can also write a 3D file (like *.obj) and use it in a 3D software (picture here).
Source code: labyrinthDepthFirstSearch3DWeb
Built with Processing