With the basics of reading sensor data already covered in the previous chapter, we will now see how to use data from the accelerometer, magnetometer, and gyroscope to generate interactive graphics and sound in our Processing sketches.
Using Ketai to Read Sensor Data
The sensors available in an Android device give us plenty of data about the surroundings of the device. We saw how we can retrieve this data by using either the Android API or the Ketai library, the latter of which makes sensor handling easier. Once the data is available ...