GMU:Dataflow I WS12/Li Lingling: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 9: Line 9:
[[File:touch sensor2.jpg]]
[[File:touch sensor2.jpg]]
[[File:touch sensor1.jpg]]
[[File:touch sensor1.jpg]]
In my project I can get different data from Arduino to processing, when I touching the "Touch Sensor" . Then I will define different gestures. In my case I have four gestures.  
In my project I can get different data from Arduino to processing, when I touching the "Touch Sensor" . Then I will define different gestures. In my case I have four gestures. [br]
Gesture 1: No touching.
Gesture 1: No touching.[br]
Gesture 2: One finger touching.
Gesture 2: One finger touching.[br]
Gesture 3: Grab.
Gesture 3: Grab.[br]
Gesture 4: Put the finger in the water.
Gesture 4: Put the finger in the water.[br]
[[File:touch sensor4.jpg]]
[[File:touch sensor4.jpg]][br]
Because I want to use the different gestures to control the Gem object in pure data. So I name them "Go right"、“Go up”、“Go left”、“Go down”.
Because I want to use the different gestures to control the Gem object in pure data. So I name them "Go right"、“Go up”、“Go left”、“Go down”.
In processing the gesture data is remembered as numbers.
In processing the gesture data is remembered as numbers.
Line 26: Line 26:
"2" is "Go right".
"2" is "Go right".
"3" is "Go down".
"3" is "Go down".
 
<videoflash type="vimeo">63048325</videoflash>




<videoflash type="vimeo">63046775</videoflash>  
<videoflash type="vimeo">63046775</videoflash>  
[[File:processing+puredata.zip]]
[[File:processing+puredata.zip]]