GMU:(In)Visible Networks/Esra Demirel: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 86: Line 86:


[[File:es.mp4 |600px|thumb|left|Earth, Fire, Water, Air representation Video to reflect theme of Nature|It supposed to be background of the light beams. Also we have definition of Processing to see Video with light beams realtime]] <br>
[[File:es.mp4 |600px|thumb|left|Earth, Fire, Water, Air representation Video to reflect theme of Nature|It supposed to be background of the light beams. Also we have definition of Processing to see Video with light beams realtime]] <br>
<br style="clear:both;">
<br>


==VIDEO IMPORT ON PROCESSING==
==VIDEO IMPORT ON PROCESSING==
Line 123: Line 126:
  joints.clear();
  joints.clear();
  }
  }
/*
strokeWeight(4); 
// go through list of joints and draw them all
frameRate(5);
fill(101, 50);
stroke(255, 30);
background(0);
for (int i=0; i<joints.size(); i++) {
//draw everything here
point(joints.get(i).x/5+width/2, joints.get(i).y/5+height/2);
line(random(600), random(600), joints.get(i).x/5+width/2, joints.get(i).y/5+height/2);
}
joints.clear();
}*/
  // Called every time a new frame is available to read
  // Called every time a new frame is available to read
  void movieEvent(Movie m) {
  void movieEvent(Movie m) {
Line 152: Line 141:
  }
  }
  }
  }
""" This is how video import is possible while we are using OSC protocol inside processing""" <br>