Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6daed5856b

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.

Forging Titanium Episode 15: Twisti Part 2 - 3D with Three.js

Editors 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:

Something went wrong with that request. Please try again.