An open API service indexing awesome lists of open source software.

https://github.com/zfa3/mazegenerator

Simple rectilinear maze generator
https://github.com/zfa3/mazegenerator

maze-generator python3

Last synced: 8 months ago
JSON representation

Simple rectilinear maze generator

Awesome Lists containing this project

README

          

# Simple Maze Generator

Simple maze generator, written in python3 using pillow as the only dependancy. Creates mazes using random walk, and can save them as images.
If you'd like to change the appearance of the maze, changing these will produce different results:

create_background
size
cell_size

# Prerequisites
PIL - https://pypi.org/project/pillow/
pip install pillow

# Exemplars
![Screenshot 2025-06-15 at 8 24 15 PM](https://github.com/user-attachments/assets/0d8aadcd-bce4-405b-9693-b4a39e6555f8)
![Screenshot 2025-06-15 at 8 24 49 PM](https://github.com/user-attachments/assets/86472bbc-b62e-4e37-a70c-9a2a35e875c4)
![Screenshot 2025-06-15 at 8 25 02 PM](https://github.com/user-attachments/assets/d38dd59d-1f9f-4a91-9094-575fb86e8372)
![Screenshot 2025-06-15 at 8 25 11 PM](https://github.com/user-attachments/assets/cdecc25b-d49f-4081-a29d-cf346c1b9990)
![Screenshot 2025-06-15 at 8 25 32 PM](https://github.com/user-attachments/assets/d077cce3-4d60-4008-a8f5-43abffdaedf7)