Hasty Briefsbeta

Bilingual

Maze Algorithms (2017)

2 months ago
  • #programming
  • #github
  • #maze-algorithms
  • The author has written a book titled "Mazes for Programmers" about maze algorithms.
  • Source code for the demos is available at http://github.com/jamis/csmazes.
  • Threshold algorithm combines Aldous-Broder and Wilson's algorithms for better performance, though it's not uniform.
  • The algorithm switches from Aldous-Broder to Wilson's after a minimum number of cells are visited.
  • Parameters can be set in comma-delimited combinations like random:50, newest:30, oldest:75, middle:100.
  • Clicking "reset" is required for the maze to recognize parameter changes.