Fullpower has created a technology they call MotionX. It’s a realistic simulation of dice rolling on a motion sensitive device, such as an iPhone. You shake the phone, and the dice go tumbling around the screen, clicking when they hit each other or a wall and eventually coming to rest.

Here’s a video showing their first game, MotionX Poker:

[youtube=http://youtube.com/watch?v=bFjKqT2i6_U]

(source)