____________________________
________ |__ |_ ____/
_______ /| |_ /| | / __
______ ___ | ___ / /_/ /
/_/ |_/_/ |_\____/
This is an ASCII art generator written in Python (pyfiglet
).
I wanted to make some ASCII art for my Raspberry Pi's MOTD and wondered if I could program something in Python that could generate it for me. I did some Googling and found pyfiglet
, which is a full port of FIGlet into Python and would allow me to make such a program.
I figured I could recreate it into a tool like URS and put it on my profile, so here is the final product. Enjoy!
There are four flags you can use with this program: -l
, -e
, -m
, and -r
.
$ ./AAG.py -l
Use this flag to see a list of all available fonts and their corresponding number. You will need the number to create your ASCII art.
$ ./AAG.py -e
This flag will provide examples for each font.
$ ./AAG.py -m FONT_NUM TEXT
This flag is used to generate your ASCII art.
It takes 2 arguments - the font number and the string you want to generate art for.
$ ./AAG.py -r TEXT
If you're feeling adventurous, let AAG choose the font for you.
$ ./AAG.py -h
Use the help flag to see example usage and additional help.