//How to load and play a QuickTime movie file. import processing.video.*; Movie myMovie; void setup() { size(720, 480, P2D); background(255); // Load and play the video in a loop myMovie = new Movie(this, "wrestler.mov"); myMovie.loop(); } void movieEvent(Movie myMovie) { myMovie.read(); } void draw() { //Sets the fill value for displaying images - (r,g,b,a) or (white,alpha) tint(255, 50); //will leave trail due to low opacity //Displays images to the screen, image must be in same directory as sketch. image(myMovie, 0, 0); //Move the cursor across the screen to draw. //image(myMovie, mouseX-myMovie.width/2, mouseY-myMovie.height/2); }