Because anything can be done in binary
Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
resources
.gitignore
Gemfile
LICENSE.txt
README.md
Rakefile
harlem_bits.gemspec
harlem_bits.rb

README.md

BinaryHarlemShake

Have you seen this harlem shake thing?

This is a thing now, right? Right guys?

For the uninitiated: http://www.reddit.com/r/harlemshake

To Run:

sudo gem install harlem_bits
harlem_bits

You can specify width and height:

harlem_bits 50 25

Dependencies:

  • The "colored" gem for colored terminal output.
  • afplay (Mac only).
  • mpg123 (Linux only, thanks Arkaniad!).

Todos:

  • Figure out how to work with frame rates and timings to make bits dance nicer.
  • Figure out how to render to the terminal more efficiently. Currently just outputting screen after screen creating a huge scroll history, ncurses maybe?
  • Control-C doesn't exit cleanly, currently must press twice.