When I first got into Arduino I saw a few useless machine videos that caught my interest. I did a lot of prototyping but never ended up building the full box. I still plan to someday, just need to find the time!
The code can be found here. Much love to Lamja who originally posted the code I based mine off of.
These videos document my early prototyping and testing.