GMU:Tutorials/Networking/Controlling Processing with The Captury: Difference between revisions

From Medien Wiki
Line 134: Line 134:
== Control The Video By Processing ==
== Control The Video By Processing ==
Since we can successfully use the data from the capture, it can be creatively to use the position of the object to control whatever you want in Processing!  <br>
Since we can successfully use the data from the capture, it can be creatively to use the position of the object to control whatever you want in Processing!  <br>
The following is an example of using a single value (position x) to play or reverse the video and change the play speed of the video.<br>
The following is an example of using position values to play or reverse the video and change the play speed of the video.<br>
<br>
<br>
'''PART 01 – Play a video in Processing''' <br>
'''PART 01 – Play a video in Processing''' <br>
Line 167: Line 167:


'''PART 02 – Play or reverse the video and change the play speed''' <br>
'''PART 02 – Play or reverse the video and change the play speed''' <br>
*First thing to know is about the relationship between coordinate axis in the Captury and the Performance Platform. Here is the diagram:
*Using position x as the condition. If user stand at the left edge, the speed will be slowest. The righter user stand, the faster the movie play.
*Using position x as the condition. If user stand at the left edge, the speed will be slowest. The righter user stand, the faster the movie play.
*Using position y as the condition. If user stand close to the platform, the movie will play as usual, if else the movie will reverse.  
*Using position y as the condition. If user stand close to the platform, the movie will play as usual, if else the movie will reverse.