This project contains scripts that produce generative art.
To install the project, run the following command:
poetry install
To use the project, run the following command:
poetry run python main.py
To use the program, run the following command:
python mandelbrot.py -it <iterations> -w <width> -hh <height> -x <x> -y <y> -z <zoom>
where:
-it: Number of iterations (default: 256)
-w: Canvas width in pixels (default: 512)
-hh: Canvas height in pixels (default: 512)
-x: Starting x coordinate (default: 0.5)
-y: Starting y coordinate (default: 0.5)
-z: Number of zoom iterations (default: 200)
e.g
python mandelbrot.py -it 1000 -w 1024 -hh 1024 -z 200
To use the program, run the following command:
python squares.py -w <width> -hh <height> -b <border> -s <space> -c <columns> -d <distortion>
where:
-w: The width of the canvas (default: 1000)
-hh: The height of the canvas (default: 1600)
-b: Border size in pixels (default: 200)
-s: Space between shapes in pixels (default: 10)
-c: Number of shapes per row (default: 10)
-d:Ddistortion magnitude affecting rotation and traslation of shapes (default: 2)
This project is licensed under the MIT License.