Challenge: horizontally / inertially stabilize a pizza on motorcycle

I love the idea of taping a sloshing bowl of paint to the back of my motorcycle but why not just just use an accelerometer/g-meter? I can just download an app on my phone. Or better yet, why not build a g meter using an arduino and accelerometer? That's pretty much my plan already. I'm just hoping one of those geniuses that built a stabilizing gyrocopter, or a gyro camera gimbal, or a two wheeled balancing autobot can guide me in the right direction since the selection of hardware available is quite overwhelming. Also existing software would be a great time-saver.