Skip to content

nejdetckenobi/garden

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Garden - A maze generation implementation

Setting up and using it

Setup

Setting up the project is easy. Follow these steps:

  • Clone this repo git clone https://github.com/nejdetckenobi/garden

  • Go to project directory cd garden

  • Create a virtual environment virtualenv -p $(which python3) venv

  • Activate the virtual environment source venv/bin/activate

  • Install dependencies pip install pillow imageio

Usage

  • To generate a simple animation with 5 mazes, use: python samplescript.py

  • After that, you'll get a file named lab.gif. This is the animation. It's unoptimized so before trying to upload anywhere, I recommend optimizing it via tools like gifsicle

Note: All implementation made in imps.py. You can check the algorithm and other things in there. For usage, examine samplescript.py

Example

This is the result when you run samplescript.py

opt

This is another maze with the size of 512 x 512

lab

Releases

No releases published

Packages

No packages published

Languages