There is already a mood cube app to flame the colors of lights depending on which side of the cube is face up.
There is also a smart bridge system set up to talk to the internet via raspberry pi and nodes.
Smash them together to control the mood of the music playlist based on the orientation of the mood cube! Voila!