I've had the idea kicking around in the back of my head for a while of "hostile art" -- art that invites you to interact with it, but then punishes you somehow for doing so. This is the first piece I've built of that.
To make this, I took apart a Magic 8 Ball, removed the core containing the dark liquid and floating Icosahedron of Wisdom, and replaced all of that with an accelerometer, battery, microcontroller, and display. (You know, for simplicity.)
This is a fun project and the sort of thing you could probably do with an interested youngster. (Maybe not the 8 Ball disassembly. That involved far more swearing than anyone below the age of 37 is prepared to hear.) But it was an entertaining evening project for a few days and I have a newfound respect for industrial plastics.
The code for this project is on GitHub.
Thanks to ziggurat29 for pointing out that I had "Icosagon" where I meant "Icosahedron" in the description!