Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

endVideo()

   
Examples  
void setup() {	 
  size(320, 240); 
  noBackground(); 
  beginVideo();  
} 
 
void mousePressed() { 
  // Stops capturing video when mouse is pressed   
  endVideo(); 
} 
  
void loop() { 
  image(video, 0, 0);  
} 

Description   Stops capturing video from an attached video camera. The endVideo() function is always used with beginVideo().
   
Syntax  
endVideo()
   
Parameters  
 

   
Returns   None
   
Usage   Application
   
Related   beginVideo()
videoEvent()
video
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas