calavera ascii. in javascript

Here's an example of how to create a Calavera using ASCII art in JavaScript:

index.tsx
console.log(`     
                             ____
                     _..-''---' `-._
          _,..-----''             `._
       -''                            ``--..__
     ,'                                     ``-.
   ,'                                  ___...--'
  ,'                                 ,--''  __
 ,'_      .-.                      ,-'   _.'
,'   `._,`._ \               ___,'_,--''
|\        `._``--.._______..---''_.-'
\ `---....___`-.___\_...-----''_,-'
 `--..,___.--'_,-'      _..---''   |
    |.`-'...,'  /|    ,'            ,'`.
   _|      _,' ,'' | _,'             |   |
 ,' | ___,'  ,'    |'               ,-'
|   ,`    ,'     /  |               |
,'._`----'     ,'   /               |
             ,'   ,'               /
            /    / ,'            ,'
           /     |-'          ,'
           `.          ,-' _,'
             `._      _,-'_/
                ``--''    
`);
914 chars
26 lines

This will output the following ASCII art:

index.tsx
                             ____
                     _..-''---' `-._
          _,..-----''             `._
       -''                            ``--..__
     ,'                                     ``-.
   ,'                                  ___...--'
  ,'                                 ,--''  __
 ,'_      .-.                      ,-'   _.'
,'   `._,`._ \               ___,'_,--''
|\        `._``--.._______..---''_.-'
 \ `---....___`-.___\_...-----''_,-'
  `--..,___.--'_,-'      _..---''   |
     |.`-'...,'  /|    ,'            ,'`.
    _|      _,' ,'' | _,'             |   |
  ,' | ___,'  ,'    |'               ,-'
 |   ,`    ,'     /  |               |
,'._`----'     ,'   /               |
             ,'   ,'               /
            /    / ,'            ,'
           /     |-'          ,'
           `.          ,-' _,'
             `._      _,-'_/
                ``--''       
900 chars
24 lines

Note that this is just an example and you can modify the ASCII art to your liking.

related categories

gistlibby LogSnag