Skip to content

Khelechy/AsciiTextGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AsciiTextGen

Ascii Text to ART generator based on Java Introduction This package can be used to generate ascii arts on terminals and also integrated to java applications, Here to replace Sudo apt-get install 'figlet'

Installation

Jdk or jre of any version installed on machine AsciiTextGen

download from here!

"Java asciitextgen" You'll need to set path of the JAVA-HOME and PATH.

Usage

Use the rule dumbpwd in your validation like so:

CHANGE THE VARIABLE c TO you TO USE STRINGS AS DECODING OPTIONS

for (int y = 0; y < height; y++) {
           StringBuilder sb = new StringBuilder();
           for (int x = 0; x < width; x++) {

               //change the variable c to you to use the string as decoder and vice versa
               sb.append(image.getRGB(x, y) == -16777216 ? " " : c);

           }

UNCOMMENT THE LINES 987 TO VALIDATE THE STRINGS AS DECODER

   //collecting entries
        System.out.println("Enter your Text: ");
        text2d = inputs.nextLine();
        System.out.println("Enter your character to decode with: ");
        //uncomment the input you and comment the input c to use strings as decoder
        c = inputc.next(".").charAt(0);
    987    //you = inputs.nextLine();

#AsciitextGen

# How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or Facebook? Spread the word!

Don't forget to follow me on twitter!

Thanks! Onyekwere kelechi mark.

About

Ascii Text to ART generator based on Java

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages