87
The Glass Class: Rapid Prototyping for Wearable Computing Mark Billinghurst HIT Lab NZ University of Canterbury March 25 th 2014

The Glass Class: Rapid Prototyping for Wearable Computers

Embed Size (px)

DESCRIPTION

Talk that was to be given by Mark Billinghurst at the AWE New York conference on March 25th 2014. Unfortunately, due to technical problems this wasn't able to go ahead.

Citation preview

Page 1: The Glass Class: Rapid Prototyping for Wearable Computers

The Glass Class: Rapid Prototyping for Wearable

Computing

Mark BillinghurstHIT Lab NZ

University of Canterbury

March 25th 2014

Page 2: The Glass Class: Rapid Prototyping for Wearable Computers
Page 3: The Glass Class: Rapid Prototyping for Wearable Computers
Page 4: The Glass Class: Rapid Prototyping for Wearable Computers
Page 5: The Glass Class: Rapid Prototyping for Wearable Computers
Page 6: The Glass Class: Rapid Prototyping for Wearable Computers

How can I quickly build my own wearable experiences?

Page 7: The Glass Class: Rapid Prototyping for Wearable Computers

Wearables Vuzix M100

$999, profession Recon Jet

$600, more sensors, sports Opinvent

500 Euro, multi-view mode Motorola Golden-i

Rugged, remote assistance

Page 8: The Glass Class: Rapid Prototyping for Wearable Computers

Common Elements Different form factor but common

elements Android OS Monocular Display Camera On-board sensors

- Compass, Accelerometer, etc Connectivity Designed for wearability

Page 9: The Glass Class: Rapid Prototyping for Wearable Computers

WTF is This?

Page 10: The Glass Class: Rapid Prototyping for Wearable Computers

Rapid Prototyping for Non-Programmers

Page 11: The Glass Class: Rapid Prototyping for Wearable Computers

Interaction Design Process

Page 12: The Glass Class: Rapid Prototyping for Wearable Computers

Paper Prototyping: Widgets (Low Fidelity)

Page 13: The Glass Class: Rapid Prototyping for Wearable Computers

Tethered Prototypes (High Fidelity)

Goal: Communicate Vision

Page 14: The Glass Class: Rapid Prototyping for Wearable Computers

Rapid Prototyping Approach Quick design Capture key interactions Focus on user interface and

experience No programming required

Page 15: The Glass Class: Rapid Prototyping for Wearable Computers

BUNRATTY FOLK PARKSharon BrosnanSharon Brosnan

06518690651869

Bachelor of Science in Digital Media DesignBachelor of Science in Digital Media Design

Page 16: The Glass Class: Rapid Prototyping for Wearable Computers

EXAMPLE: BUNRATTY PARKIrish visitor attraction run by Shannon Heritage

19th century life is recreatedBuildings from the mid-west have been relocated to Bunratty Castle

30 buildings are set in a rural or village setting there.

Page 17: The Glass Class: Rapid Prototyping for Wearable Computers

AUGMENTED REALITYWant to develop AR tour guideRuns on smart phonesOverlay virtual information on real objects

Provides navigation aidAdds story/game elements

Page 18: The Glass Class: Rapid Prototyping for Wearable Computers

STORYBOARD

Page 19: The Glass Class: Rapid Prototyping for Wearable Computers

SKETCHES – PHOTOSHOPPros:• Good for idea generation• Cheap• Concepts seem feasible

Cons:• Not great feedback gained• Photoshop not fast enough for making changes

Page 20: The Glass Class: Rapid Prototyping for Wearable Computers

POST IT PROTOTYPING

First Draft

Camera View with 3D

Second Draft Third Draft• Selection highlighted in blue • Home button added for easy

navigation to main menu

Page 21: The Glass Class: Rapid Prototyping for Wearable Computers

POWERPOINT PROTOTYPINGBenefits • Used for User Testing• Quick, Interactive• Functionalities work with storyboard• Easy arrangement of slides

User Testing• Participants found• 15 minute sessions screen captured• ‘Talk Allowed’ technique used • Notes taken, Post-Interview

Page 22: The Glass Class: Rapid Prototyping for Wearable Computers

WIKITUDEPopular AR browser Mapping Point of Interest abilities

MultiplatformShows the points of interest of Bunratty Folk Park

Page 23: The Glass Class: Rapid Prototyping for Wearable Computers

Benefits of RAPID Prototyping

Fast and inexpensive Identifies problems before they’re

coded Elicits more and better feedback

from users Helps developers think creatively Gets users involved early in the

process Helps decide design directions

Page 24: The Glass Class: Rapid Prototyping for Wearable Computers

Rapid Prototyping Tools for Wearables

Page 25: The Glass Class: Rapid Prototyping for Wearable Computers

Rapid Prototyping Tools Low-fi/Static Tools

Sketching User interface templates Storyboards/Application flows

High-fi/Interactive Tools Wireframing tools Mobile prototyping Coding

Page 26: The Glass Class: Rapid Prototyping for Wearable Computers

GlassSim – http://glasssim.com/

Simulate the view through Google Glass Multiple card templates

Page 27: The Glass Class: Rapid Prototyping for Wearable Computers

GlassSim Card Builder Use HTML for card

details Multiple templates Change background

Own image Camera view

Page 28: The Glass Class: Rapid Prototyping for Wearable Computers

GlassSim Samples

Page 29: The Glass Class: Rapid Prototyping for Wearable Computers

Glass UI Templates

Google Glass Photoshop Templates http://glass-ui.com/ http://dsky9.com/glassfaq/the-google-glass-psd-template/

Page 30: The Glass Class: Rapid Prototyping for Wearable Computers

Sample Slides From Templates

Page 31: The Glass Class: Rapid Prototyping for Wearable Computers

Glass Application Storyboard

http://dsky9.com/glassfaq/google-glass-storyboard-template-download/

Page 32: The Glass Class: Rapid Prototyping for Wearable Computers

Application Flow

Page 33: The Glass Class: Rapid Prototyping for Wearable Computers

Wireframing Tool Add transitions, limited interactions UXPin Wireframing Tool

http://uxpin.com/ Web based Glass templates

Page 34: The Glass Class: Rapid Prototyping for Wearable Computers

UXpin

Page 35: The Glass Class: Rapid Prototyping for Wearable Computers

Proto.io - http://www.proto.io/

Web based mobile prototyping tool Features

Prototype for multiple devices Gesture input, touch events, animations Share with collaborators Test on device

Page 36: The Glass Class: Rapid Prototyping for Wearable Computers

Proto.io - Interface

Page 37: The Glass Class: Rapid Prototyping for Wearable Computers

Demo Building a Simple Flow

Page 38: The Glass Class: Rapid Prototyping for Wearable Computers

Gesture Flow

Scr1

Scr2 Scr3

Scr4 Scr5 Scr6

Tap

Swipe

Page 39: The Glass Class: Rapid Prototyping for Wearable Computers

Start Transitions

Page 40: The Glass Class: Rapid Prototyping for Wearable Computers

Demo

Page 41: The Glass Class: Rapid Prototyping for Wearable Computers

Justinmind – justinmind.com

Wireframing tool – interactive prototypes Google Glass widget library

Page 42: The Glass Class: Rapid Prototyping for Wearable Computers

Wireframe Limitations Can’t deploy on Wearable No access to sensor data

Camera, orientation sensor No multimedia playback

Audio, video Simple transitions

No conditional logic

Page 43: The Glass Class: Rapid Prototyping for Wearable Computers

App Inventor http://appinventor.mit.edu/ Visual Programming for Android Apps Features

Access to Android Sensors Multimedia output

Drag and drop web based interface Designer view – app layout Blocks view – program logic/control

Page 44: The Glass Class: Rapid Prototyping for Wearable Computers

Device Setup Emulator

Use aiStarter on Windows/Linux Live view (run on connected device)

Make sure device is in Debug mode Install companion app (sideload on

Glass)- MITAI2Companion.apk

Page 45: The Glass Class: Rapid Prototyping for Wearable Computers

App Inventor Designer View

Page 46: The Glass Class: Rapid Prototyping for Wearable Computers

App Inventor Blocks View

Page 47: The Glass Class: Rapid Prototyping for Wearable Computers

Orientation Demo

Use orientation sensor

Page 48: The Glass Class: Rapid Prototyping for Wearable Computers

Rapid Prototyping using Processing

Page 49: The Glass Class: Rapid Prototyping for Wearable Computers

Processing Easy to use language for Interaction Programming tool for Artists/Designers

http://processing.org Easy to code, Free, Open source, Java based 2D, 3D, audio/video support

Processing For Android http://wiki.processing.org/w/Android Generates Android Ready .apk file

Page 50: The Glass Class: Rapid Prototyping for Wearable Computers
Page 51: The Glass Class: Rapid Prototyping for Wearable Computers
Page 52: The Glass Class: Rapid Prototyping for Wearable Computers

Development Environment

Page 53: The Glass Class: Rapid Prototyping for Wearable Computers

Hello World//called initially at the start of the Processing sketch

void setup() {

size(640, 360);

background(0);

}

//called every frame to draw output

void draw() {

background(0);

//draw a white text string showing Hello World

fill(255);

text("Hello World", 50, 50);

}

Page 54: The Glass Class: Rapid Prototyping for Wearable Computers

Demo

Page 55: The Glass Class: Rapid Prototyping for Wearable Computers

Hello World ImagePImage img; // Create an image variable

void setup() {

size(640, 360);

//load the ok glass home screen image

img = loadImage("okGlass.jpg"); // Load the image into the program

}

void draw() {

// Displays the image at its actual size at point (0,0)

image(img, 0, 0);

}

Page 56: The Glass Class: Rapid Prototyping for Wearable Computers

Demo

Page 57: The Glass Class: Rapid Prototyping for Wearable Computers

Touch Pad Input Tap recognized as DPAD inputvoid keyPressed() {

if (key == CODED){

if (keyCode == DPAD) {

// Do something ..

Java code to capture rich motion events import android.view.MotionEvent;

Page 58: The Glass Class: Rapid Prototyping for Wearable Computers

Motion Event//Glass Touch Events - reads from touch pad

public boolean dispatchGenericMotionEvent(MotionEvent event) {

float x = event.getX(); // get x/y coords

float y = event.getY();

int action = event.getActionMasked(); // get code for action

switch (action) { // let us know which action code shows up

case MotionEvent.ACTION_DOWN:

touchEvent = "DOWN";

fingerTouch = 1;

break;

case MotionEvent.ACTION_MOVE:

touchEvent = "MOVE";

xpos = myScreenWidth-x*touchPadScaleX;

ypos = y*touchPadScaleY;

break;

Page 59: The Glass Class: Rapid Prototyping for Wearable Computers

Demo

Page 60: The Glass Class: Rapid Prototyping for Wearable Computers

SensorsKetai Library for Processing

https://code.google.com/p/ketai/Support all phone sensors

GPS, Compass, Light, Camera, etcInclude Ketai Library

import ketai.sensors.*; KetaiSensor sensor;

Page 61: The Glass Class: Rapid Prototyping for Wearable Computers

Using Sensors Setup in Setup( ) function

sensor = new KetaiSensor(this); sensor.start();

sensor.list(); Event based sensor reading

void onAccelerometerEvent(…)

{

accelerometer.set(x, y, z);

}

Page 62: The Glass Class: Rapid Prototyping for Wearable Computers

Sensor Demo

Page 63: The Glass Class: Rapid Prototyping for Wearable Computers

PhoneGap - http://phonegap.com/

Developing mobile apps using web tools HTML, CSS, JavaScript

Access to sensor data Camera, compass, accelerometer

Cross platform iOS, Android, Windows Phone, etc

Page 64: The Glass Class: Rapid Prototyping for Wearable Computers

WearScript – wearscript.com

JavaScript for Glass Access to sensors, touch input, etc

Power of Android, Ease of website development

Page 65: The Glass Class: Rapid Prototyping for Wearable Computers

Design Guidelines

Page 66: The Glass Class: Rapid Prototyping for Wearable Computers
Page 67: The Glass Class: Rapid Prototyping for Wearable Computers

"Computing should just be more comfortable"

"Google should do the hard work, and you should have a chance to live, have a good life, and get on with it."

Page 68: The Glass Class: Rapid Prototyping for Wearable Computers

As technology becomes more personal and immediate, it can start to disappear.

Distant Intimate

Page 69: The Glass Class: Rapid Prototyping for Wearable Computers

Last year Last week NowForever

The Now machine

Focus on location, contextual and timely information, and communication.

Page 70: The Glass Class: Rapid Prototyping for Wearable Computers

1. Design For the Device

Simple, relevant information Complement existing devices

Page 71: The Glass Class: Rapid Prototyping for Wearable Computers

2. Don’t Get in the Way

Enhance, not replace, real world interaction

Page 72: The Glass Class: Rapid Prototyping for Wearable Computers

3. Keep it Relevant

Information at the right time and place

Page 73: The Glass Class: Rapid Prototyping for Wearable Computers

4. Avoid the Unexpected

Don’t send unexpected content at wrong times Make it clear to users what your glassware does

Page 74: The Glass Class: Rapid Prototyping for Wearable Computers

5. Build for People

Use imagery, voice interaction, natural gestures Focus on fire and forget interaction model

Page 75: The Glass Class: Rapid Prototyping for Wearable Computers

Micro Interactions

The position of the display and limited input ability makes longer interactions less comfortable.

Using it shouldn’t take longer than taking out your phone.

Page 76: The Glass Class: Rapid Prototyping for Wearable Computers

It's like a rear view mirror

Don't overload the user. Stick to the absolutely essential, avoid long

interactions. Be explicit.

Page 77: The Glass Class: Rapid Prototyping for Wearable Computers

Examples

Page 78: The Glass Class: Rapid Prototyping for Wearable Computers

Virtual Exercise Companion

GlassFitGames http://www.glassfitgames.com

Page 79: The Glass Class: Rapid Prototyping for Wearable Computers

GlassFitGames Video

Page 80: The Glass Class: Rapid Prototyping for Wearable Computers

CityViewAR

Using AR to visualize Christchurch city buildings 3D models of buildings, 2D images, text,

panoramas AR View, Map view, List view Available on Android market

Page 81: The Glass Class: Rapid Prototyping for Wearable Computers

CityViewAR on Glass

AR overlay of virtual buildings in Christchurch

Page 82: The Glass Class: Rapid Prototyping for Wearable Computers

CItyViewAR on Glass Demo

Page 83: The Glass Class: Rapid Prototyping for Wearable Computers

Conclusions

Page 84: The Glass Class: Rapid Prototyping for Wearable Computers

Conclusions Rapid prototyping vital for wearables

Display concepts, user feedback Range of different tools available

Sketching, storyboarding, wireframe, interactive

Need to follow design guidelines Don’t get in the way, build for people

Page 85: The Glass Class: Rapid Prototyping for Wearable Computers

Books Programming Google Glass

Eric Redmond

Rapid Android Development: Build Rich, Sensor-Based Applications with Processing Daniel Sauter

Building Android Apps in Easy Steps: Using App Inventor Mike McGrath

Page 86: The Glass Class: Rapid Prototyping for Wearable Computers

Web Resources Main Developer Website

https://developers.google.com/glass/ Glass Apps Developer Site

http://glass-apps.org/glass-developer Google Glass Emulator

http://glass-apps.org/google-glass-emulator AR for Glass Website

http://www.arforglass.org/

Page 87: The Glass Class: Rapid Prototyping for Wearable Computers

More Information Mark Billinghurst

Email: [email protected] Twitter: @marknb00

HIT Lab NZ http://www.hitlabnz.org/