feat: change orientation (#7)

* feat: change orientation (wip)

* wip

* working rotation

* small fix in help
This commit is contained in:
2025-06-05 12:03:15 +02:00
committed by GitHub
parent 533960f46f
commit 0172286d9a
6 changed files with 34 additions and 19 deletions
+3 -3
View File
@@ -22,7 +22,7 @@ make clean build install
## CLI arguments
```txt
usage: margen [--help] [-v] [-q] [-w=WIDTH] [-h=HEIGHT] [-o=PATH] [--seed=SEED][-p=PIXEL_SIZE] [-s=SLOPE] [-c=R,G,B] [--var=R,G,B] [-vr=VAR_RANGE]
usage: margen [--help] [-v] [-q] [-w=WIDTH] [-h=HEIGHT] [-o=PATH] [--seed=SEED][-p=PIXEL_SIZE] [-s=SLOPE] [-c=R,G,B] [-va=R,G,B] [-vr=VAR_RANGE] [-r=ROTATION]
generate a marble-like pattern bitmap image, blazing fast.
@@ -38,9 +38,9 @@ options:
-c, --color base color [0-255,0-255,0-255] (default: random)
-va, --variation fixed variation [0-255,0-255,0-255] (default: random)
-vr, --var-range random variation range [0-255] (default: 30)
-r, --rotation start corner rotation [0-3] (default: random)
```
## TODO
- fix monochrome
- select corner (currently bottom left)
- fix monochrome