DEV Community

loading...

Trapped in the maze of the endless loop!

Wolfger Schramm
I'm a professional freelance front-end developer, living on the react-side with a passion for three.js
・1 min read

See how the recursive backtracker algorithm creates a maze. Step by step.

In the second phase of the animation the path distance to the center is calculated for each cell in the labyrinth — but there is no escape 😉

Discussion (0)