GMU:Tutorials/Performance Platform/Measuring Motion with Processing: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 17: Line 17:
**Collecting the correlative data for the speed: Through the connecting of  OSC and Motion Tracking platform, the root position and the updated data of one person could be obtained. The shifting distance and the relevant time decides the speed of the root node.
**Collecting the correlative data for the speed: Through the connecting of  OSC and Motion Tracking platform, the root position and the updated data of one person could be obtained. The shifting distance and the relevant time decides the speed of the root node.
Getting data from theCaputry then calculating the speed of the root<br>
Getting data from theCaputry then calculating the speed of the root<br>
<source : "lang=java">
<source "lang=java">
public void updateRoot(float x, float y, float z) {     
public void updateRoot(float x, float y, float z) {     
     x2 = abs(x - x1);
     x2 = abs(x - x1);