Alright, well this has been done for a long time, and the video has been up on YouTube, but I guess I decided not to post it. NO LONGER!
LADIES AND GENTLEMEN, NERDMIGOS OF ALL KINDS!
The video explains things pretty well I think.
I was going to post the Ruby code, but, looks like I deleted it. That’ll bite me in the @$$ later.