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 the information is divided into four categories.
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.
Because I want to use the different gestures to control the Gem object in pure data.  
Gesture 1: No touching.
Gesture 2: One finger touching.
Gesture 3: Grab.
Gesture 4: Put the finger in the water.
[[File:touch sensor4.jpg]]
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.
Gesture 1 is "0".
Gesture 2 is "1".
Gesture 3 is "2".
Gesture 4 is "3".
Then I send the gesture data to pure data through OSC. So in pure data I define the numbers with different movement.
"0" is "Go Left".
"1" is "Go up".
"2" is "Go right".
"3" is "Go down".
 
 
 
<videoflash type="vimeo">63046775</videoflash>  
<videoflash type="vimeo">63046775</videoflash>  
[[File:processing+puredata.zip]]
[[File:processing+puredata.zip]]