There is a great article over at Raspberry Pi Tutorials. You may have to translate the language to read it if you cannot read German. Here is a link to the article on how to visualize the rotation of a sensor. I can imagine a lot of future applications being able to read the orientation of their equipment in situations where that could be crucial.
The Raspberry Pi is capable of many things, so rotation and acceleration values can easily be read out using a sensor such as the MPU-6050. The result, however, is simple numbers, which you will normally not imagine too much. However, it is very easy to visualize these numbers. This is easily done in modern browsers using WebGL, which can be used to render 2D and 3D objects in the browser.
To do this, we run a Node.JS web server on the Raspberry Pi, which both retrieves and visualizes the data. The sample code for this is attached at the end of the tutorial.