Create mazes using the recursive backtracking algorithm.
Check out the maze generator demo.
Note: There are restrictions for the maze dimensions you can use. You can remove the restrictions in the globals.js file. Be aware that the larger the maze dimensions, the more memory is consumed. With recursive backtracking the whole maze is stored in memory.
MIT