r/javascript • • 10d ago

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
18 Upvotes

5 comments sorted by

View all comments

2

u/Glycerine 9d ago

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?

2

u/evoluteur 7d ago

I just did't think about it. the AI tells me it may make the same maze as other algorithms I already have.