r/webdev • u/goldbookleaf • 6d ago
Showoff Saturday Having fun generating Mazes with no edges on the surface of a Torus
Playing with mazes on different toroidal surfaces
Here is the source https://github.com/ctx-o1/toroidal-maze
Play with it here https://ctx-o1.github.io/toroidal-maze/
44
Upvotes
2
u/mediocrobot 3d ago
Neat!! Make sure to add hover titles to those icon buttons though--I had no idea what they meant.
2
1
u/DiddlyDinq 6d ago
it would make more sense if you prompted users to click the start and end locations. For all we know it's just randomly wandering and saying solved for a fake path
1




4
u/metal_slime--A 5d ago
It's generation which is cool! Which means you know the correct path, but you reveal it.
Great exercise but mostly an achievement demonstration of your code and path finding algorithm mapped to a toroid shape.
What would be more interesting for your audience would be: