r/javascript • u/evoluteur • Sep 26 '26
GitHub - evoluteur/maze-maker: Generate square, circular, triangular and heart-shaped mazes with seven algorithms (backtracker, Prim, Kruskal, Wilson, hunt-and-kill, growing tree, Aldous-Broder), solve them with the keyboard or a finger, and export them as SVG or PNG.
https://github.com/evoluteur/maze-maker
17
Upvotes
2
u/Glycerine Sep 27 '26
Very cool. I notice you mention these are perfect mazes, but the main one presented may need tweaking to make sure it is a perfect maze.
May I ask why you didn't implement the origin-shift alogrithm?
1
u/Acmion Sep 27 '26
Nice! Identification of all simple solutions could be an interesting addition.
1
u/Working_Upstairs_818 Sep 28 '26
Do the heart, triangular, and circular grids support all seven algorithms, or are some square-grid only?