/
short.html
581 lines (500 loc) · 22.8 KB
/
short.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sweatin' to the Web</title>
<meta name="description" content="PowerPoint, but with Power">
<meta name="author" content="Ben Farrell">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<link rel="stylesheet" href="css/reveal.css">
<link rel="stylesheet" href="css/theme/default.css" id="theme">
<!-- For syntax highlighting -->
<link rel="stylesheet" href="lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<script src="common/js/jquery-1.9.1.min.js"></script>
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
<![endif]-->
</head>
<body>
<div class="reveal">
<!-- Any section element inside of this container is displayed as a slide -->
<div class="slides">
<section>
<img src="./images/sweatin-banner.jpg"/>
<p>
<small>Created by <a href="http://benfarrell.com">Ben Farrell</a> / <a href="http://twitter.com/bfarrellforever">@bfarrellforever</a></small>
</p>
</section>
<section>
<h2>About Me</h2>
<ul>
<li>Creative Developer</li>
<li>I like UI, Apps, Interactive Experiences, Games</li>
<li>I like trying new things whether mobile, desktop, or whatever</li>
<li>Server side is fine, but I like the funny graphics moving around</li>
</ul>
<p>
<a href="http://www.benfarrell.com">www.benfarrell.com</a>
</p>
<p>
<a href="http://www.sweatintotheweb.com">www.sweatintotheweb.com</a>
</p>
</section>
<section>
<h2>In the 80's...</h2>
<p>
<img src="./images/simpsonscouch1.gif"/>
</p>
</section>
<section>
<h2>...We were pretty lazy</h2>
<p>
<img src="./images/mwc.jpg"/>
</p>
</section>
<section>
<h2>But then something fabulous happened</h2>
<ul>
<li>TV had been a sit-down medium since the 1950's</li>
<li>The obesity crisis was just kicking off</li>
<li>We blamed TV and junk food</li>
<li>Parents rationed TV time</li>
</ul>
</section>
<section>
<h2>The 80's fitness craze begins!</h2>
<ul>
<li>An Inactive medium is transformed</li>
<li>Stock in <span style="color:springgreen">neon</span> <span style="color:hotpink">leg</span> <span style="color:yellow">warmers</span> go through the roof</li>
</ul>
<p>
<img src="./images/richard-simmons-v3s.jpg"/>
</p>
</section>
<section>
<p>
Instead of sitting on the couch, Richard Simmons and friends got us to clear a
space on our living room floor and do some cardio. It changed the way we watched TV for the better
</p>
<p>
<img src="./images/Richard_2_shot.jpg"/>
</p>
</section>
<section>
<h2>Meanwhile, Here's Mario!</h2>
<h3>A brand new medium takes off</h3>
<p>
<img src="./images/super-mario-bros-2.png"/>
</p>
</section>
<section>
<h2>We learned nothing</h2>
<h3>Gamers are inactive as ever...</h3>
<p>
<img src="./images/fS60s.jpg"/>
</p>
</section>
<section>
<h2>Or are they?</h2>
<h3>Nintendo Power Pad Circa 1986</h3>
<p>
<img src="./images/PowerPadF.JPG"/>
</p>
</section>
<section>
<h2>Dance Dance Revolution</h2>
<h3>Japan Release 1998</h3>
<p>
<img src="./images/ddr.jpg"/>
</p>
</section>
<section>
<h2>Game Controllers got funny looking</h2>
<h3>In reality, we were just displacing buttons</h3>
<table>
<tr>
<td><img src="./images/guitar-hero.jpg"/></td>
<td><img src="./images/finger_dancemat.jpg"/></td>
</tr>
</table>
(the end result was FUN though)
</section>
<section>
<h2>Nintendo Kicked it Up a Notch</h2>
<h3>WiiMote (multi-type input)</h3>
<ul>
<li>Accelerometer</li>
<li>Infrared Optical Sensor</li>
<li>Buttons and directional pad</li>
<li>Wireless connectivity via bluetooth</li>
</ul>
<p>
<img src="./images/wiimote.jpg"/>
</p>
</section>
<section>
<h2>And so did Sony...</h2>
<h3>Eye and EyeToy for Playstation</h3>
<p>
<table>
<tr>
<td><img src="./images/eyetoy.jpg"/></td>
<td><img src="./images/pseye.jpg"/></td>
</tr>
<tr>
<td>
<strong>Computer Vision</strong>
<ul>
<li>Edge detection</li>
<li>Pixel tracking</li>
<li>Face detection</li>
<li>Head tracking</li>
<li>Gesture Recognition</li>
</ul>
</td>
<td>
<strong>4 Microphone Array</strong>
<ul>
<li>Voice Location Tracking</li>
<li>Echo cancellation</li>
<li>Background noise suppression</li>
</ul>
</td>
</tr>
</table>
</p>
</section>
<section>
<h2>Improving on the EyeToy</h2>
<h3>Playstation Move</h3>
<table>
<tr>
<td>
<ul>
<li>Used in combo with Playstation Eye</li>
<li>LED Ball lights up a different color for each player</li>
<li>Size and position of illuminated ball gives distance and motion</li>
<li>Accelerometer built in for rotation and improved motion data</li>
</ul>
</td>
<td>
<img src="./images/psmove.jpg"/>
</td>
</tr>
</table>
</section>
<section>
<h2>Enter Microsoft</h2>
<h3>Kinect</h3>
<ul>
<li>640x480 RGB Camera</li>
<li>640x480 IR Depth Finding Camera</li>
<li>Multi-Array Microphone (4)</li>
</ul>
<p>
<img src="./images/kinect.jpg"/>
</p>
</section>
<section>
<h2>Is this presentation Sweatin' to the Console?</h2>
<h3>No, it's</h3>
<img src="./images/sweatin-banner.jpg"/>
</section>
<section>
<h2>Kinect for Windows SDK</h2>
<h3>Break free of the Console</h3>
<ul>
<li>SDK supports application development in C#</li>
<li>Bindings for Flash/Javascript with KinectJS (http://kinect.childnodes.com/)</li>
<li>Official kit costs $250</li>
<li>Not so official kit costs < $100</li>
</ul>
</section>
<section>
<h2>Poor Man's Kinect Hacking</h2>
<h3>XBOX Kinect</h3>
<ul>
<li>XBOX Kinect + $10 USB splitter for Power Supply </li>
<li>Windows SDK works great!</li>
<li>Not legal for commercial use</li>
<li>No "near mode"</li>
</ul>
</section>
<section>
<h2>Windows only?</h2>
<h3>But I'm a Web Developer</h3>
<img src="./images/Bill_gates_windows.jpg"/>
</section>
<section>
<h2>Open Source to the Rescue!</h2>
<p>
<img src="./images/OpenNI_logo11.png"/>
</p>
<ul>
<li>Open source library for 3D sensing</li>
<li>Cross platform</li>
<li>Works with Kinect (Windows only)</li>
<li>Works with Other cameras (x-platform)</li>
</ul>
</section>
<section>
<h2>Other Cameras</h2>
<h3>Asus Xtion (Pro Live) | Primesense Carmine</h3>
<ul>
<li>From $119-$200</li>
<li>Smaller than Kinect</li>
<li>No Motor</li>
<li>No extra power supply needed (USB)</li>
<li>Less (or no) microphones</li>
</ul>
</section>
<section>
<h2>Not So Open Source to the Rescue!</h2>
<p>
<img src="./images/NITE_MW.png"/>
</p>
<p>Middleware sits on top of OpenNI and provides skeletal tracking, user detection, and a few gestures</p>
</section>
<section>
<h2>What does these cameras do?</h2>
<h3>Lets look at a normal RGB camera</h3>
<p>
<img src="./images/edgedetection.png"/>
</p>
<p>
(edge detection will typically be used for object recognition)
</p>
</section>
<section>
<h2>What does these cameras do?</h2>
<h3>Now a RGB+D Camera</h3>
<p>
<img src="./images/kinect-1-depth-map.jpg"/>
</p>
</section>
<section>
<h2>Infrared Beams</h2>
<h3>Seeing in the Dark</h3>
<p>
<table>
<tr>
<td><img src="./images/nightvision.jpg"/></td>
<td><img src="./images/nightvision2.jpg"/></td>
</tr>
</table>
</p>
</section>
<section>
<h2>Skeletal Tracking</h2>
<h3>Interpreting the Depth Stream</h3>
<p>
<img src="./images/skeleton.jpg"/></td>
</p>
</section>
<section>
<h2>OpenNI/NiTE Library is C++</h2>
<h3>Dude, seriously, I'm a Web Developer</h3>
<p>
I know, I know - you'd probably rather be stuck with C# on Windows....but wait....
</p>
</section>
<section>
<h2>I made something!</h2>
<h3>A Node.js AddOn</h3>
<p>
<img src="./images/nodejs.png"/>
</p>
<p>NOW will you Sweat to the Web with me? <a href="https://github.com/bengfarrell/nuimotion">https://github.com/bengfarrell/nuimotion</a></p>
</section>
<section>
<h2>Skeletal Tracking</h2>
<pre><code contenteditable>
var nuimotion = require("nuimotion");
nuimotion.startSkeletonListener( [
nuimotion.Joints.LEFT_HAND,
nuimotion.Joints.RIGHT_HAND ],
onSkeletonUpdate /* , 50 (the default) */ );
</code></pre>
<h3>Skeleton Object Returned:</h3>
<pre><code contenteditable>
skeleton: {
jointname: {
x: {number}, y: {number}, z: {number},
xRotation: {angle}, yRotation: {angle}, zRotation: {angle},
positionConfidence: {number},
percentExtended: {percentage},
active: {boolean}
}
}
</code></pre>
</section>
<section>
<h2>Event Listening</h2>
<pre><code contenteditable>
nuimotion.addListener( [
nuimotion.Events.USER_IS_OUT_OF_SCENE,
nuimotion.Events.USER_IS_VISIBLE,
nuimotion.Events.SKELETON_TRACKING,
nuimotion.Events.SKELETON_STOPPED_TRACKING ],
onEvent );
</code></pre>
</section>
<section>
<h2>Gesture Detection</h2>
<pre><code contenteditable>
nuimotion.addGesture( [
nuimotion.Events.Gestures.Swipe.types.up,
nuimotion.Events.Gestures.Swipe.types.down,
nuimotion.Events.Gestures.Swipe.types.left,
nuimotion.Events.Gestures.Swipe.types.right,
nuimotion.Events.Gestures.Wave.types.hand],
onEvent);
</code></pre>
</section>
<section>
<h2>Uses</h2>
<ul>
<li>It's COOL!</li>
<li>10 foot interfaces</li>
<li>Innovative games</li>
<li>Interacting with public spaces</li>
<li>Real world analytics</li>
</ul>
</section>
<section>
<h2>Case Study: Shopperception</h2>
<a href="http://www.shopperception.com/">http://www.shopperception.com/</a>
<img src="./images/Shopperception-All-in-One.jpg"/>
</section>
<section>
<h2>Don't Repeat History</h2>
<img src="./images/bravenuiworld.jpg"/>
<p>
by Daniel Wigdor and Dennis Wixon
</p>
</section>
<section>
<h2>The Power Glove Dilemma</h2>
<img src="./images/powerglove.jpg"/>
</section>
<section>
<h2>Sales</h2>
<ul>
<li>Released 1989</li>
<li>Widely regarded as failure</li>
<li>2 Powerglove games were made (they could be played with standard controller)</li>
<li>No UX innovation on other games - just an awkward controller</li>
</ul>
<br /><br />
<h3>Why Bother?</h3>
</section>
<section>
<h2>Kinesis.io</h2>
<ul>
<li>Kinect based tools/framework for web page interaction</li>
<li>Cursor, clicking, scrolling, etc</li>
<li>Nice blend of HTML/CSS/Javascript support</li>
</ul>
<br /><br />
<h3>Why Bother?</h3>
<p>Natural User Interfaces should afford us new types of interaction, not be a wrapper for our existing ones</p>
</section>
<section>
<h2>The NUI</h2>
<h3>Natural User Interfaces should be intuitive</h3>
<ul>
<li>NUIs can include gestures, motion, and speech</li>
<li>2D Gestures are on your mobile devices (pinch/zoom/flip)</li>
<li>Speech with Siri and Android</li>
</ul>
<img src="./images/pinchZoom.jpg"/>
</section>
<section>
<h2>NUI Rules</h2>
<h3>from Kinect for Windows Human Interface Guidelines</h3>
<ul>
<li>For games use the "Game Mindset"
<p>
In games people enjoy being challenged and don't mind looking silly.
They are eager to learn and improve
</p>
</li>
<li>
For applications use the "UI Mindset"
<p>
Application users have no tolerance for challenges or looking silly.
Don't introduce a learning curve. Make your app immediately functional
</p>
</li>
</ul>
<p>
<a href="http://www.microsoft.com/en-us/kinectforwindows/develop/learn.aspx">http://www.microsoft.com/en-us/kinectforwindows/develop/learn.aspx</a>
</p>
</section>
<section>
<h2>Gesture Guidlines</h2>
<h3>My Guidelines</h3>
<ul>
<li>Create a good balance between intuitive and intentional</li>
<li>Visualize gesture progress for users</li>
<li>My plugin (NuiMotion) gives progress steps for gestures </li>
</ul>
</section>
<section>
<h2>Try it yourself!</h2>
<h3>Go forth and Sweat to the Web</h3>
<ul>
<li>Websockets are the most obvious way to use web tech</li>
<li>Make a desktop application with App.js or Node Webkit</li>
<li>OpenNI projects a $15b 3D sensing industry by 2018</li>
<li>Tiny Primesense Carmine sensors are being sold in bulk to device manufacturers</li>
<li>Lets keep it within our reach!</li>
</ul>
</section>
<section>
<h2>Links n' Stuff</h2>
<h3>Go forth and Sweat to the Web</h3>
<ul>
<li>http://sweatintotheweb.com/</li>
<li>https://github.com/bengfarrell</li>
<li>http://www.benfarrell.com/</li>
<li>https://github.com/rogerwang/node-webkit</li>
</ul>
</section>
</div>
</div>
<script src="lib/js/head.min.js"></script>
<script src="js/reveal.min.js"></script>
<script>
// Full list of configuration options available here:
// https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
center: true,
theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
transition: Reveal.getQueryHash().transition || 'default', // default/cube/page/concave/zoom/linear/fade/none
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'plugin/markdown/showdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/markdown/markdown.js', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: 'plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'common/js/nuimotion-sockets.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/nuimotion/nuimotion.js', async: true, condition: function() { return !!document.body.classList; } },
{ src: 'plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } }
// { src: 'plugin/search/search.js', async: true, condition: function() { return !!document.body.classList; } }
// { src: 'plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; } }
]
});
</script>
</body>
</html>