Skip to content

Instantly share code, notes, and snippets.

@koriroys
Created May 8, 2014 01:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save koriroys/ad96b1d3e5edff35f0f3 to your computer and use it in GitHub Desktop.
Save koriroys/ad96b1d3e5edff35f0f3 to your computer and use it in GitHub Desktop.
ascii art!
# gem install artii
# gem install term-ansicolor
require 'artii'
require 'term/ansicolor'
class String
include Term::ANSIColor
end
Artii::CLI.new("LIKE A BOSS!", "-f", "block").output.chars.map{|c| c == " " || c == "\n" ? c.on_color(230) : c.color([74, 215, 203].sample).on_color(234) }.each{|c| print c; sleep 0.002};nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment