MATLAB 3D maze

Generates a maze, renders it in 3D, and traverses it endlessly.
293 Downloads
Updated 10 Oct 2015

View License

Inspired by a certain screensaver from the 1990s, this function generates a maze using the tried-and-true depth-first search approach, renders it in 3D (including a "growing walls" animation), and wanders around in it using the left-hand wall-following navigation strategy.

Cite As

Luke Gane (2026). MATLAB 3D maze (https://www.mathworks.com/matlabcentral/fileexchange/53448-matlab-3d-maze), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

MATLAB 3D maze/

Version Published Release Notes
1.0.0.0