This book is a fast-paced guide with practical examples that aims to help you understand and master the Leap Motion SDK. This book is for developers who are either involved in game development or who are looking to utilize Leap Motion technology in order to create brand new user interaction experiences to distinguish their products from the mass market. You should be comfortable with high-level languages and object-oriented development concepts in order to get the most out of this book.
Preface |
|
1 | (4) |
|
Chapter 1 Leap Motion SDK -- A Quick Start |
|
|
5 | (18) |
|
|
5 | (2) |
|
|
7 | (3) |
|
|
10 | (1) |
|
|
10 | (1) |
|
|
10 | (1) |
|
|
11 | (1) |
|
|
11 | (1) |
|
|
11 | (1) |
|
|
11 | (1) |
|
|
12 | (1) |
|
|
12 | (2) |
|
An example of cursor control |
|
|
14 | (3) |
|
A gesture-triggered action |
|
|
17 | (5) |
|
|
22 | (1) |
|
Chapter 2 Real Talk -- Real Time |
|
|
23 | (24) |
|
A simple gesture recognizer |
|
|
30 | (4) |
|
|
34 | (2) |
|
|
36 | (1) |
|
Multiprocessing with threads |
|
|
37 | (1) |
|
Refactoring for multithreading |
|
|
38 | (4) |
|
The producer-consumer race condition |
|
|
42 | (3) |
|
|
45 | (2) |
|
Chapter 3 Actual Gestures |
|
|
47 | (24) |
|
|
47 | (1) |
|
|
48 | (2) |
|
|
50 | (2) |
|
WindowFlinger -- a high-level gesture application |
|
|
52 | (3) |
|
Window management abstraction |
|
|
55 | (3) |
|
|
58 | (4) |
|
Driver implementation -- Mac OS X |
|
|
62 | (1) |
|
|
62 | (1) |
|
|
63 | (7) |
|
|
70 | (1) |
|
Chapter 4 Leap and the Web |
|
|
71 | (10) |
|
|
71 | (1) |
|
|
72 | (1) |
|
|
72 | (1) |
|
|
73 | (3) |
|
|
76 | (4) |
|
|
80 | (1) |
|
Chapter 5 HTML5 Antics in 3D |
|
|
81 | (10) |
|
Cross-platform graphics party |
|
|
81 | (1) |
|
|
82 | (1) |
|
Three.js + LeapJS -- the awesomesauce |
|
|
83 | (4) |
|
|
87 | (2) |
|
|
89 | (2) |
Index |
|
91 | |
Mischa Spiegelmock is an accomplished software engineer from the San Francisco Bay Area. Slightly infamous from light-hearted technical pranks from his youth, he is now a respectable CTO at a healthcare software startup. His passions are architecting elegant and useful programs and sharing his insights into software design with others in a straightforward and entertaining fashion.