This crate provide functions to generate mazes with several algorithms, in an efficient way. Once a maze is generated, you can print it with walls as lines or as blocks (hey Minecrafters) or export it as jpg.
pub fn generate(w: usize, h: usize, generator: Generator) -> Maze;
pub fn print_linewise(&self);
pub fn print_blockwise(&self, free_char: char, wall_char: char);
pub fn export(&self, filename: &str, w: u32, h: u32, walls_width: u32);
Compile from source:
git clone https://github.com/lfalkau/maze-generator
cd maze-generator
cargo build
Import from crates.io
NOT YET EXPORTED