Maze 3D

Navigate a 3D maze with multiple levels

You are now following this Submission

Automatically generates 3D mazes, then you try to solve. You can specify the dimensions, and the branching pattern. The maze pattern is one of the outputs, so you can save maze layouts that you want to use again. Look in the file header for some recommended examples.
If you give up, press P to see the true path through the maze. Look in header for other keystroke commands
A modified version of Rodney Meyer's maze.m

Cite As

Jeff (2026). Maze 3D (https://nl.mathworks.com/matlabcentral/fileexchange/33295-maze-3d), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Maze

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.2.0.0

Added the "y" option, with is a labyrinth where there can be loops (you can end up circling around back to the start)

1.1.0.0

added the ability to reduce the number of holes between levels by adding a number after the character pattern

1.0.0.0