MazeGenerator
A collection of algorithms for generating mazes
Install / Use
/learn @89netraM/MazeGeneratorREADME
MazeGenerator
A collection of algorithms for generating mazes, while visualizing them.
Demos
Here is a demonstration of mazes being generated with the various algorithms.
Randomized Depth First Search --dfs
Random Binary Tree Maze --tree
Randomized Prim's algorithm --prim
The Aldous-Broder algorithm --ab
Recursive Division Method --div
Wilson's algorithm --wilson
Usage
USAGE:
maze_generator [FLAGS] [OPTIONS]
FLAGS:
--dfs Use the depth first search algorithm for maze generation [default]
--tree Use the binary tree maze algorithm for maze generation
--prim Use Prim's algorithm for maze generation
--ab Use the Aldous-Broder algorithm for maze generation
--div Use the recursive division method for maze generation
--wilson Use Wilson's algorithm (loop-erased random walk) for maze generation
-h, --help Prints help information
OPTIONS:
--rows <ROWS> Number of rows of the generated map [default: 5]
--columns <COLUMNS> Number of columns of the generated map [default: 5]
--start_row <START_ROW> The row to start generating from [default: 0]
--start_column <START_COLUMN> The column to start generating from [default: 0]
--delay <DELAY> The ms delay between steps [default: 50]
Development
This project is developed in Rust and uses Cargo.
During development you will most likely want to use
> cargo run
if you want to send arguments to the program, preface them with an "empty" double dash
> cargo run -- <arguments here>
For publication use
> cargo build --release
the resulting binary will be placed in ./target/release.
Related Skills
node-connect
351.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.4kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。






