Download - L ecture 25: Input /Output Technology

Transcript
Page 1: L ecture 25:  Input /Output  Technology

Spring 2011 6.813/6.831 User Interface Design and Implementation 1

Lecture 25: Input/Output Technology

HW2 due SundayGR5 (final implementation) outToday is the last nanoquiz of the term!

Page 2: L ecture 25:  Input /Output  Technology

UI Hall of Fame or Shame

Spring 2011 6.813/6.831 User Interface Design and Implementation 2

Page 3: L ecture 25:  Input /Output  Technology

6.813/6.831 User Interface Design and Implementation 3

Nanoquiz

• closed book, closed notes• submit before time is up (paper or web)• we’ll show a timer for the last 20 seconds

Spring 2011

Page 4: L ecture 25:  Input /Output  Technology

6.813/6.831 User Interface Design and Implementation 4

1. In which of the following situations would animation be likely to help? (choose all that apply)

A. Highlighting a button (to show that it’s enabled) when the user mouses over it

B. Scrolling when the user clicks on a link to another place in a documentC. Displaying a throbberD. Scrolling when the user drags the scrollbar thumb.

2. jQuery’s animate() method is usually called from an event listener; for example, a click listener might use animate() to animate the appearance of a menu. Which of the following statements are true as a result? (choose all that apply)

A. animate() uses timer events.B. animate() uses mouse capture.C. animate() doesn’t return until the animation is complete.D. animate() contains a loop that steps through the frames of the animation.

3. Which of the following techniques is most useful for animating a fast-moving object? (choose the best answer)

A. motion blurB. slow-in, slow-outC. anticipationD. follow-through

2019181716151413121110 9 8 7 6 5 4 3 2 1 0

Spring 2011

Page 5: L ecture 25:  Input /Output  Technology

Today’s Topics

• Displays• Pointing devices

Spring 2011 6.813/6.831 User Interface Design and Implementation 5

Page 6: L ecture 25:  Input /Output  Technology

CRT vs. LCD

Spring 2011 6.813/6.831 User Interface Design and Implementation 6

Page 7: L ecture 25:  Input /Output  Technology

Properties of Displays• Diagonal size• Pixel dimensions & aspect ratio• Pixel density• Refresh rate• Color depth (# colors or grays)• Color gamut• Gamma

Spring 2011 6.813/6.831 User Interface Design and Implementation 7

Page 8: L ecture 25:  Input /Output  Technology

Pixel Dimensions

Spring 2011 6.813/6.831 User Interface Design and Implementation 8

Page 9: L ecture 25:  Input /Output  Technology

Pixel Density• Pixels per inch (ppi)

– CRT, LCD: 60-130 ppi– iPhone 4: 326 ppi– Laser printer: 300-1800 ppi

• Lines per inch (lpi) for halftoning– Newspaper: 85 lpi– Magazine: 133 lpi– Art book: 200 lpi

Spring 2011 6.813/6.831 User Interface Design and Implementation 9

Page 10: L ecture 25:  Input /Output  Technology

Subpixel Rendering on LCDs

• Ideal for text– kerning– boldface– italic

• But only horizontal text

Spring 2011 6.813/6.831 User Interface Design and Implementation 10

Subpixel rendering

Page 11: L ecture 25:  Input /Output  Technology

Electronic Paper• Electrophoretic display

– charged white particles in a dark-colored oil– made by E Ink – used by Amazon Kindle & Sony Reader

• Only consumes power to change display• Low refresh rate (1-2 Hz), low contrast• Kindle is 167 ppi, 16 levels grayscale

Spring 2011 6.813/6.831 User Interface Design and Implementation 11

Page 12: L ecture 25:  Input /Output  Technology

Multiple Monitors and Very Wide Displays• Multiple monitors are increasingly common• Microsoft DSharp prototype

– made with 3 LCD projectors = 3072 x 768 pixels– curved, 48” wide, 12” high, 4:1 aspect

• Problems with multiple monitors– losing mouse pointer– clutching– bezels & seams– locus of attention

Spring 2011 6.813/6.831 User Interface Design and Implementation 12

Page 13: L ecture 25:  Input /Output  Technology

Projectors• LCD projector

– basically LCD panel with very bright backlight• DLP (“digital light processing”)

– uses a digital micromirror device instead of LCD

Spring 2011 6.813/6.831 User Interface Design and Implementation 13

Page 14: L ecture 25:  Input /Output  Technology

Today’s Topics

Displays• Pointing devices

Spring 2011 6.813/6.831 User Interface Design and Implementation 14

Page 15: L ecture 25:  Input /Output  Technology

Pointing Devices

Spring 2011 6.813/6.831 User Interface Design and Implementation 15

Mouse Touchpad

Joystick Trackball

Page 16: L ecture 25:  Input /Output  Technology

Properties of Pointing Devices• Direct vs. indirect

– Direct touch on screen– Indirect control of mouse pointer

• Relative vs. absolute• Throughput• Control/display (C/D) ratio

Spring 2011 6.813/6.831 User Interface Design and Implementation 16

Page 17: L ecture 25:  Input /Output  Technology

Throughput

• Throughput– also called index of performance

– mouse: 5 bits/sec– trackball: 3 bits/sec– touchpad: 3 bits/sec– joystick: 2 bits/sec

Spring 2011 6.813/6.831 User Interface Design and Implementation 17

T = a + b log (D/S + 1) secondsID = log (D/S + 1) bitsIP = 1/b bits/second

Page 18: L ecture 25:  Input /Output  Technology

Control/Display Ratio• Control: how far user’s hand moves

– in meters• Display: how far cursor moves on screen

– in pixels• Direct touch: C/D = 1• Mouse acceleration

Spring 2011 6.813/6.831 User Interface Design and Implementation 18

No acceleration With acceleration

Page 19: L ecture 25:  Input /Output  Technology

Semantic Pointing• Adapt the C/D ratio to the targets on screen

– Highly likely targets have high C/D ratio => pointer moves more slowly, target feels sticky

– Less likely targets have low C/D ratio => pointer moves fast, slips over them

Spring 2011 6.813/6.831 User Interface Design and Implementation 19

“Look” is unchanged

...but “feel”is different

Page 20: L ecture 25:  Input /Output  Technology

Direct Touch

• Mouse = indirect pointing• Stylus or finger = direct pointing

Spring 2011 6.813/6.831 User Interface Design and Implementation 20

Page 21: L ecture 25:  Input /Output  Technology

Technology for Direct Touch

• Resistive– Two conductive sheets with a gap between– Responds to finger, stylus, any object

• Capacitive– Human skin changes surface capacitance– Responds only to bare skin

• Inductive– EM field from tablet induces signal from stylus– Responds only to special (expensive!) stylus

• Optical– Camera watches the surface– Responds to anything

Spring 2011 6.813/6.831 User Interface Design and Implementation 21

Page 22: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 22

Page 23: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 23

1 V

Page 24: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 24

2 V

Page 25: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 25

Stripped Wire

Page 26: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 26

Stripped Wire

Page 27: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 27

3 V

Stripped Wire

Page 28: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 28

Page 29: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 29

Page 30: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 30

3 V

Page 31: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 31

3 V

3

Page 32: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 32

3

Page 33: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 33

2 V

3

Page 34: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 34

2 V

3

2

Page 35: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 35

Page 36: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 36

Page 37: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 37

Page 38: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 38

75%

Page 39: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 39

75%

FastAccurateFinger or Stylus

Page 40: L ecture 25:  Input /Output  Technology

Resistive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 40

75%

FastAccurateFinger or Stylus

Not Multi-touch

Page 41: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 41

Page 42: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 42

-

- -

-

-

-

-

-

--

-

--

-

--

-

Page 43: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 43

-

- -

-

-

-

-

-

--

-

--

-

--

-

Page 44: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 44

-

- -

-

-

-

-

-

--

-

--

-

--

-20 C

20 C

20 C

20 C

Page 45: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 45

-

- -

-

-

-

-

-

--

-

--

-

--

-20 C

20 C

20 C

20 C

Page 46: L ecture 25:  Input /Output  Technology

20 C

20 C

20 C

20 C

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 46

-

- -

-

--

-

-

-

--

--

-

--

-

Page 47: L ecture 25:  Input /Output  Technology

19 C

17 C

17 C

15 C

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 47

-

- -

-

--

-

-

-

--

--

-

--

-

Page 48: L ecture 25:  Input /Output  Technology

19 C

17 C

17 C

15 C

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 48

-

- -

-

--

-

-

-

--

--

-

--

-

Page 49: L ecture 25:  Input /Output  Technology

19 C

17 C

17 C

15 C

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 49

-

- -

-

--

-

-

-

--

--

-

--

-

Page 50: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 50

-

- -

-

-

-

-

-

--

-

--

-

--

-

Page 51: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 51

-

- -

-

-

-

-

-

--

-

--

-

--

-

Page 52: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 52

-

- -

-

-

-

-

-

--

-

--

-

--

-

90%

Page 53: L ecture 25:  Input /Output  Technology

Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 53

-

- -

-

-

-

-

-

--

-

--

-

--

-

90%Bare Finger or

Conducting Stylus

Not multi-touch

Page 54: L ecture 25:  Input /Output  Technology

Projected Capacitive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 54

Multi-touch

Page 55: L ecture 25:  Input /Output  Technology

Inductive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 55

Page 56: L ecture 25:  Input /Output  Technology

Inductive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 56

EM Field

Page 57: L ecture 25:  Input /Output  Technology

Inductive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 57

Page 58: L ecture 25:  Input /Output  Technology

Inductive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 58

Page 59: L ecture 25:  Input /Output  Technology

Inductive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 59

Page 60: L ecture 25:  Input /Output  Technology

Inductive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 60

?

Page 61: L ecture 25:  Input /Output  Technology

Inductive Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 61

Expensive

Not Multi-touch

Page 62: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 62

Page 63: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 63

Page 64: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 64

Light is faster through air than glass,so it over-shoots and heads back into glass

Page 65: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 65

Light is slower through a finger than glass,and the finger diffuses the light

Page 66: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 66

Page 67: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 67

Page 68: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 68

Page 69: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 69

Infrared

Page 70: L ecture 25:  Input /Output  Technology

Vision Touch Sensing

Spring 2011 6.813/6.831 User Interface Design and Implementation 70

Page 71: L ecture 25:  Input /Output  Technology

Microsoft Surface

Spring 2011 6.813/6.831 User Interface Design and Implementation 71

Page 72: L ecture 25:  Input /Output  Technology

DiamondTouch Table (MERL)

Spring 2011 6.813/6.831 User Interface Design and Implementation 72

Page 73: L ecture 25:  Input /Output  Technology

Issues for Direct Touch Technology

• Finger only, stylus only, or both• Pressure sensitivity• Hovering vs. clicking• Occlusion of display by finger or hand

– “Fat finger” problem• Multitouch• Tactile feedback• Multiple users

Spring 2011 6.813/6.831 User Interface Design and Implementation 73

Page 74: L ecture 25:  Input /Output  Technology

Summary

• Displays– CRT, LCD, e-paper, projector– Dimensions, density, refresh rate, color depth

• Pointing devices– Mouse, touchpad, joystick, trackpad– Throughput, C/D ratio

• Keyboards– QWERTY, Dvorak, alphabetical– Typing speed, finger movement

Spring 2011 6.813/6.831 User Interface Design and Implementation 74