How to use data from accelerometer to control camera and perspective in Processing

I have smoothed the data so now they are something like:


So the numbers varied from 0.00 to 10.00
To be honest, I really don’t know why we don’t receive negative numbers, I’m studying the introduction and data sheet of my accelerometer right now: Gravity: I2C LIS331HH Triple Axis Accelerometer Sensor Wiki - DFRobot

1 Like

I added three variables: DxA, DyA, DzA to measure the change of acceleration (delta A). Now it partially works but now in a smooth way, and it seems that I can’t change perspective of y and z direction but can only change x. It kept moving away from the screen

1 Like

omg after testings now it works!!! I’m so excited.
Thank you Chrisir for all your help! Much appreciated!!

1 Like