Skip to content

Latest commit

 

History

History
56 lines (43 loc) · 1.49 KB

README.md

File metadata and controls

56 lines (43 loc) · 1.49 KB

Valorant 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": VALORANT
image