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:

# download first, you need the mp3 file.
git clone [email protected]:DiegoSalazar/BinaryHarlemShake.git
cd BinaryHarlemShake
ruby harlem_bits.rb

Dependencies:

  • The "colored" gem for colored terminal output.
  • afplay (Mac only).

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.