2 ms·
Several years ago, I wrote a maze generator using POV-Ray [0]. It's interesting trying to write a queue in a language that only has simple fixed-length arrays.
by Sohcahtoa82 6y ago
Several years ago, I wrote a maze generator using POV-Ray [0]. It's interesting trying to write a queue in a language that only has simple fixed-length arrays.
IMO, the recursive backtracking algorithm looks the best, and I'd probably use that if I were to ever return to this quick little project.
[0]https://youtu.be/VwuA2Z1tCaw https://youtu.be/VwuA2Z1tCaw