Skip to content

ThomasPericoi/ASCIIPrinter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

  ___  _____ _____ _____ _____  ______     _       _            
 / _ \/  ___/  __ \_   _|_   _| | ___ \   (_)     | |           
/ /_\ \ `--.| /  \/ | |   | |   | |_/ / __ _ _ __ | |_ ___ _ __ 
|  _  |`--. \ |     | |   | |   |  __/ '__| | '_ \| __/ _ \ '__|
| | | /\__/ / \__/\_| |_ _| |_  | |  | |  | | | | | ||  __/ |   
\_| |_|____/ \____/\___/ \___/  \_|  |_|  |_|_| |_|\__\___|_|

ASCII Printer

Small script that allows you to easily print colorful ASCII arts in your Javascript console.

How does it work?

By Name

Input

printAsciiByName("pinkPanther");

Output

 .--.             .--.
( ('\\.---------.//') )
 '-.    __   __    .-'
  /    /__\ /__\    \
 |     \ 0/ \ 0/     |
  \     _/   \_     /
   '-.  /-"""-\  .-'
     /  '.___.'  \
     \     I     /
      ';--'''--;'
        '.___.'
          | |

By ID

Input

Useful if you want to create your own "random" list of arts for instance.

printAsciiById(18);

Output

                        .
                        | \/|
(\   _                  ) )|/|
    (/            _----. /.'.'
.-._________..      .' @ _\  .'
'.._______.   '.   /    (_| .')
  '._____.  /   '-/      | _.'
   '.______ (         ) ) \
     '..____ '._       )  )
        .' __.--\  , ,  // ((
        '.'     |  \/   (_.'(
                |   \ .'
                 \   (
                  \   '.
                   \ \ '.)
                    '-'-'

Randomly

Input

printRandomAscii();

Or by narrowing it down with a category.

printRandomAscii("character");

Output

     .--'''''''''--.
   '      .---.      '.
 /    .-----------.    \
/        .-----.        \
|       .-.   .-.       |
|      /___\ /___\      |
 \    | .-. | .-. |    /
  '-._| | | | | | |_.-'
      | '-' | '-' |
       \___/ \___/
    _.-'  /   \  '-._
  .' _.--|     |--._ '.
  ' _...-|     |-..._ '
         |     |
         '.___.'

What's inside?

  • Type: Animals (animal)

    • anteater
    • armadillo
    • bat
    • bear
    • beaver
    • cat
    • caterpillar
    • crab
    • deer
    • dog
    • duck
    • elephant
    • flamingo
    • fox
    • frog
    • goldfish
    • hedgehog
    • hippo
    • lion
    • marbles
    • marmot
    • monkey
    • mouse
    • parrot
    • pig
    • pinguin
    • snail
    • teckel
    • turtle
    • wasp
    • whale
  • Type: Characters (character)

    • bender
    • cheshireCat
    • cookieMonster
    • devil
    • flintstones
    • garfield
    • homer
    • kermit
    • maryPoppins
    • monaLisa
    • pinkPanther
    • r2d2
    • santaClaus
    • sherlockHolmes
    • sonic
    • spaceInvader
    • squidward
    • tweetieBird
    • yosemiteSam
  • Type: Items (item)

    • alarm
    • boat
    • camera
    • crown
    • floppyDisk
    • plane
    • television
    • tombstone

Credits

I didn't make the arts. At best, I just tweaked them. Here are the names of the authors (when I could find them):

  • B.D.S. "Don"McConnell
  • Hamilton Furtado
  • Harry Mason (hjm)
  • Hayley Jane Wakenshaw (hjw)
  • Joan G. Stark (jgs)
  • Ojoshiro
  • LGB
  • Randy Ransom
  • Riitta Rasimus
  • Robert Craggs
  • Seal do Mar
  • Silver Saks
  • snd
  • Stef00
  • Veronica Karlsson

PS: Again, I didn't make those arts, I just found them. When I could, I put the talented author in the library.

PSS: Everything comes with colors!

About

Small script that allows you to easily print colorful ASCII arts in your Javascript console.

Topics

Resources

Stars

Watchers

Forks