shirtgen/README.md

22 lines
621 B
Markdown
Raw Permalink Normal View History

2022-04-26 19:31:57 +00:00
# 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:
```
2022-04-26 20:03:37 +00:00
# define variants to be generated
variants: _black:0:0:0 _white:255:255:255 _red:255:0:0
# declare lines
2022-04-26 19:31:57 +00:00
m:b:fill FIRST
m:r:fill second line
r:r:400 third line
```
2022-04-26 20:03:37 +00:00
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)