ASCII Art Generator is a program written in Go that converts input strings into graphic representations using ASCII characters.
- Converts strings into ASCII art
- Supports numbers, letters, spaces, special characters, and newline characters ('\n')
- Utilizes specific graphical templates for ASCII representation
-
Clone the repository:
git clone https://learn.zone01kisumu.ke/git/khahussein/ascii-art
-
Navigate to the project directory:
cd ascii-art
-
Build the project:
go build .
To generate ASCII art for a string, run the following command:
./ascii-art "input string"
Example:
./ascii-art "Hello\n" | cat -e
Output:
_ _ _ _ $
| | | | | | | | $
| |__| | ___ | | | | ___ $
| __ | / _ \ | | | | / _ \ $
| | | | | __/ | | | | | (_) | $
|_| |_| \___| |_| |_| \___/ $
$
$
$
standard.txt
: Standard ASCII character setshadow.txt
: Shadowed ASCII character setthinkertoy.txt
: ASCII character set with thinkertoy style
If you have suggestions for improvements, bug fixes, or new features, feel free to open an issue or submit a pull request.
This project was build and maintained by Kherld Hussein