http://gist.github.com/364845
A little clearer, about 25% shorter, pretty fun.
I stuck to straight JS since I'd like the source to be simple for most developers to understand.
I stuck to straight JS since I'd like the source to be simple for most developers to understand.