I developed a dynamic 3D cube with three.js that rotate and translate to visualize data coming from accelerometer and gyroscope. I initially made the 3D cube rotate and tran