22 lines
621 B
Markdown
22 lines
621 B
Markdown
# shirtgen - a maiacore t-shirt design generator
|
|
|
|
How to use:
|
|
|
|
* write a shirtfile (see example.shirt for an example and the comments in gen.py for a documentation of the format)
|
|
* run `gen.py <shirtfile>` to generate a png
|
|
|
|
## Example
|
|
|
|
shirtfile:
|
|
```
|
|
# define variants to be generated
|
|
variants: _black:0:0:0 _white:255:255:255 _red:255:0:0
|
|
|
|
# declare lines
|
|
m:b:fill FIRST
|
|
m:r:fill second line
|
|
r:r:400 third line
|
|
```
|
|
|
|
output (red variant):
|
|
![three lines of text, the first one is really big and says "first", the second line is smaller and says "second line" a third, even smaller line says "third line"](example_red.png) |