1 unstable release

0.1.1 Jan 5, 2025
0.1.0 Jan 5, 2025

#76 in Simulation

EUPL-1.2 OR MIT OR Apache-2.0

63KB
1.5K SLoC

A maze generator

A playground for maze generation.

Example Usage

GUI

Example GUI usage (default style, seed, and size):

just show-gui

This shows the GUI depicted above.

CLI

Example CLI usage (default style, seed, and size):

just show-example

Example output:

╷╶───┬╴┌─┬╴┌─┐┌┐
└───┐├┐│╷└─┴╴└┘│
╶─┬┐│╵└┤├┐┌───┐│
┌─┘╵└─┐└┘│└┐┌┐└┤
└─┐┌──┘╶┬┘┌┤╵└─┘
┌┐│└───┐│┌┘│┌──┐
│└┘┌┐┌┐││└┐╵│┌┐│
├──┘└┘└┘└┐└─┘│││
└┐╷┌─┬┐┌┐└┐┌─┘└┤
╷│└┘┌┘└┘│┌┘│┌┐╶┘
│└─┐└─┐╶┘│┌┘││┌┐
├┬┐└─┐│┌─┘└─┘├┘│
│││┌┐│││┌┐╷┌┐│┌┘
││╵│└┘└┴┘└┤││╵└┐
│└┐└┐┌───┐╵│└──┤
└╴└─┴┘╶──┴─┘╶──┘

Alternatively, you can generate a PPM image using:

just show-example-ppm

Dependencies

~320KB