valorantTextToAsciValorant Text To Ascii
Overview
You can run it directly from the command line or by using the provided executable JAR file. Simply execute:
java -jar valorantTextToAsci.jar
Usage
If you prefer to integrate ASCII art generation into your Java projects, you can use it as follows:
ValorantTextToAscii valorantTextToAscii = new ValorantTextToAscii(asciiArtMap); valorantTextToAscii.textToAscii26x13("hello!");
JSON File Format
The ASCII art mappings are defined in a JSON format, where each character is represented as a 5x? grid of ASCII characters. Here’s an example snippet:
{ "A": [ ["░", "█", "░"], ["█", "░", "█"], ["█", "█", "█"], ["█", "░", "█"], ["█", "░", "█"] ], "B": [ ["█", "█", "░"], ["█", "░", "█"], ["█", "█", "░"], ["█", "░", "█"], ["█", "█", "░"] ], "M": [ ["█", "░", "░", "░", "█"], ["█", "█", "░", "█", "█"], ["█", "░", "█", "░", "█"], ["█", "░", "░", "░", "█"], ["█", "░", "░", "░", "█"] ] }
Example
Here's a preview of the ASCII art representation of the word "Nice Try":