2 Flares 2 Flares ×

Editor’s note: This and future episodes of Forging Titanium are available here.


In Part 1 of the Twisti app series we created a native Android module that listened for sensor data. This sensor data was then transformed into 3 values, azimuth, pitch, and roll, which represented the physical orientation of the mobile device.

In Part 2 we’ll take that transformed data and use it to represent a mobile device as an animated 3D model. This 3D model will be rendered in a <canvas> element via a Titanium WebView with the help of the open source Javascript 3D engine, Three.js. With this, Twisti is quickly becoming a powerful mix of native functionality and cross platform compatibility.

Episode Resources:

2 Flares Twitter 0 Facebook 0 Google+ 2 LinkedIn 0 Email -- 2 Flares ×