Skip to content

Turns text into ascii-art, but then turns the ascii-art into emoji.

Notifications You must be signed in to change notification settings

danbernier/emoji-banner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

emoji-banner

Turns text into ascii-art, but then turns the ascii-art into emoji. All you really need is a :transparent: custom emoji, for the spacing to work.

Read more about this project.

Usage

ruby play.rb hi

Output:

:party::transparent::transparent::transparent::party:
:party::transparent::transparent::transparent::transparent:
:party::party::party::transparent::party:
:party::transparent::party::transparent::party:
:party::transparent::party::transparent::party:
:transparent::transparent::transparent::transparent::transparent:
:transparent::transparent::transparent::transparent::transparent:

...which, when rendered with some custom emoji, gives something like this:

Want different emoji?

ruby play.rb hi love

Outputs:

:love::transparent::transparent::transparent::love:
:love::transparent::transparent::transparent::transparent:
:love::love::love::transparent::love:
:love::transparent::love::transparent::love:
:love::transparent::love::transparent::love:
:transparent::transparent::transparent::transparent::transparent:
:transparent::transparent::transparent::transparent::transparent:

Alternating letters? Sure:

ruby play.rb hi love cat

And you get:

:love::transparent::transparent::transparent::cat:
:love::transparent::transparent::transparent::transparent:
:love::love::love::transparent::cat:
:love::transparent::love::transparent::cat:
:love::transparent::love::transparent::cat:
:transparent::transparent::transparent::transparent::transparent:
:transparent::transparent::transparent::transparent::transparent:

TODOs

  • Extract character maps into...something more manageable.
  • Add more fonts?
  • Add some minitests, for sanity's sake.

Contributors

  • @taralynnconnelly: typography
  • @danbernier: ruby hacking

About

Turns text into ascii-art, but then turns the ascii-art into emoji.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages