#pattern #parser #cli #creator #count #thread

app tartan

Tartan pattern parser and creator

4 releases (breaking)

0.4.0 Feb 5, 2022
0.3.0 Jan 23, 2022
0.2.0 Jan 22, 2022
0.1.0 Jan 17, 2022

#27 in #creator

MIT OR GPL-3.0-or-later

35KB
1K SLoC

Tartan

A library and CLI to parse and create tartan pattern

tartan 

USAGE:
    tartan [OPTIONS] [PATTERN]

ARGS:
    <PATTERN>    Thread count or sett [default: W6T36G20T4RB20T4RB20T4G20T36R6]

OPTIONS:
    -h, --height <HEIGHT>        Height of the produced image [default: 400]
        --help                   Print help information
    -o, --filename <FILENAME>    Output name [default: tartan.png]
    -s, --skip <SKIP>            Skip n colour spans in the pattern [default: 0]
    -u, --ugly                   Faster render without noise and blur
    -w, --width <WIDTH>          Width of the produced image [default: 400]

Dependencies

~18MB
~297K SLoC