mirror of
https://github.com/stepsal/pattern_pieces.git
synced 2026-08-20 20:15:15 +00:00
No description
- Python 100%
| example_output.png | ||
| pattern_pieces.py | ||
| README.md | ||
pattern_pieces
Pattern Pieces art generation script written in Python that creates an image from all images in the input directory.
A random square of BLOCK_SIZE is take from each input image cyclically until the NO_OF_PIECES is reached.
Output Image is created by re-pasting each of pieces in a cyclical fashion.
Usage
Pattern Pieces Art Generator
optional arguments:
-h, --help show this help message and exit
-b BLOCK_SIZE, --blocksize BLOCK_SIZE
Block Size
-p NO_OF_PIECES, --pieces NO_OF_PIECES
Number of Pieces
-i INPUT_DIR, --input INPUT_DIR
input directory