The document is a presentation on augmented reality using JavaScript and Appcelerator Titanium. It discusses what augmented reality is, the history of augmented reality in Titanium, and demonstrates a JavaScript augmented reality framework in Titanium. It also discusses using TiShadow for easier on-device testing. The presentation includes demos of augmented reality features like image recognition, geolocation, and maps.
1 of 29
Downloaded 74 times
More Related Content
Augmented Reality with JavaScript and Appcelerator Titanium
1. Augmented Reality with
JavaScript (using
Appcelerator Titanium)
Jeff Bonnes, December 2012
@jeffbonnes / @titaniumdev
Thursday, 13 December 12
2. Agenda
What is Augmented Reality?
Appcelerator Titanium
History of Augmented Reality in Titanium
JavaScript AR Framework in Titanium
[Demo]
On device testing made easy (TiShadow)
Thursday, 13 December 12
7. Appcelerator Titanium
Bridge from JavaScript objects into native
mobile API
Cross Platform
WebKit KJS JavaScript engine on iOS
V8 on Android
BB10 and Windows Phone expected 2013
Thursday, 13 December 12
9. How Titanium works
var view = Ti.UI.createView({
JS Engine backgroundColor:white Native
});
Thursday, 13 December 12
10. How Titanium works
var view = Ti.UI.createView({
JS Engine backgroundColor:white Native
});
view.top = 20dp;
Thursday, 13 December 12
11. How Titanium works
var view = Ti.UI.createView({
JS Engine backgroundColor:white Native
});
view.top = 20dp;
Ti.Geolcation.addEventListener(location,
function(e){
// e has native stuff that I can use
});
Thursday, 13 December 12
12. Power of JavaScript
Adding properties and functions to objects
(native proxies)
Parasitic inheritance
Custom objects
Dynamic function signatures
CommonJS
JSON object creation
Execution at run-time
Thursday, 13 December 12