A simple 3D Maze generator in JavaScript using p5.js. The application creates a 3D maze using either the recursive backtracker or randomized Prim's algorithm and then allows a red cube agent to solve the maze using Breadth First Search (BFS) for the shortest path.
Open index.html in a modern web browser. Use the controls in the top left to pick the maze generation algorithm, generate a new maze and start the solver.
No build step is required as everything runs in the browser.