I'm thinking of making a Digital die/dice, Will have (3x3) 9 LED's on all 6 faces (was thinking about using neopixel RGB led's), and when rolled or shaken, the top face will light up with the random number, and the other 4 visible sides would be displaying some rainbow light show. I was thinking I would need a micro controller in the middle as I wouldn't be able to fit an Arduino uno in? A member of here told me a Light resistor could see which face is facing down, therefore allowing to know the top face of which to display the number on.
Any Ideas on how I would need to wire up the neopixel led's so that it would be easier to code?!