Application that generates mazes
Project description
maze
Maze generator with crossings.
Installation
pip3 install maze
Or install from source:
python3 setup.py install
To export a 20 by 30 maze SVG and a solution SVG, run:
maze svg maze.svg -s maze-solved.svg -W 23 -H 30
To using python3 directly, change into the directory with the file maze.py and run:
python3 maze.py svg maze.svg -s maze-solved.svg -W 23 -H 30
will produce:
| maze.svg | maze-solved.svg |
|---|---|
Using the -S option will produce a maze with no curves e.g.:
maze svg maze-straight.svg -s maze-straight-solved.svg -W 23 -H 30
| maze.svg | maze-solved.svg |
|---|---|
To generate PDF (currenlty this options doesn't allow solutions to be generated)
maze pdf my_maze.pdf
will produce a pdf.
Run maze without any arguments to see all options.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file maze-3.0.0.tar.gz.
File metadata
- Download URL: maze-3.0.0.tar.gz
- Upload date:
- Size: 12.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff2edf88031fe33be10522cd5269225156115cff278ebfce64dc092a680d5601
|
|
| MD5 |
bce271ab008240d6914b72e297316a79
|
|
| BLAKE2b-256 |
61e94d34853a6195094198a07ccf2798db5e7425cb043170fa9aa59ec29fd1ca
|
File details
Details for the file maze-3.0.0-py3-none-any.whl.
File metadata
- Download URL: maze-3.0.0-py3-none-any.whl
- Upload date:
- Size: 18.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b0313ad040dd9139c0647b8e94e8b52d02547c73f00dba55c571bc878fb34e4
|
|
| MD5 |
1bd7adb268e7787f93ac29dac970078a
|
|
| BLAKE2b-256 |
5f8a67fde8e69bab9c30d5a4c12f87ef9b448261f67c4903dc9086012fa0d6f4
|