Calibrate works?
This commit is contained in:
parent
26e34f7671
commit
cc711c6343
1104 changed files with 636510 additions and 75 deletions
29
lib/video/examples/Movie/Loop/Loop.pde
Normal file
29
lib/video/examples/Movie/Loop/Loop.pde
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/**
|
||||
* Loop.
|
||||
*
|
||||
* Shows how to load and play a QuickTime movie file.
|
||||
*
|
||||
*/
|
||||
|
||||
import processing.video.*;
|
||||
|
||||
Movie movie;
|
||||
|
||||
void setup() {
|
||||
size(640, 360);
|
||||
background(0);
|
||||
// Load and play the video in a loop
|
||||
movie = new Movie(this, "transit.mov");
|
||||
movie.loop();
|
||||
}
|
||||
|
||||
void movieEvent(Movie m) {
|
||||
m.read();
|
||||
}
|
||||
|
||||
void draw() {
|
||||
//if (movie.available() == true) {
|
||||
// movie.read();
|
||||
//}
|
||||
image(movie, 0, 0, width, height);
|
||||
}
|
||||
BIN
lib/video/examples/Movie/Loop/data/transit.mov
Normal file
BIN
lib/video/examples/Movie/Loop/data/transit.mov
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue