How to read multiple sensors in Processing using Arduino I2C

yes, get all data from arduino to processing, same way you did for angles then ask community

get positions from the data will be tricky:
because your sensors give you acceleration, if you move your sensor 20cm for eg, sensor will send an acceleration , let say +1.0, then deceleration when the movement stop -1.0
and it s where stuff get complicated, first problem values will not be that nice, and chance are they will not perfectly compensate and at the end you will have not zero but still some small amount acceleration,
and even small offset will end with a high speed after some amount of time
then even more tricky the speed (and so the amount of displacemnt) of your object on screen is the acceleration by the amount of time elapsed, your sensor give you only instant acceleration and time between sample will be difficult to know precisely, will vary, and are not representative of all values in between samples
so this kind of conversion from acceleration to position diverge very fast

it s very easy from positions, to calculate speed and then acceleration, but the oposite is not
anyhow it s an interesting subject to dig, let see if someone found a nice way to play with it