• fullscreen
  • Loop.pde
  • /**
     * Loop. 
     * 
     * Move the cursor across the screen to draw. 
     * Shows how to load and play a QuickTime movie file.  
     */
    
    import processing.video.*;
    
    Movie myMovie;
    
    void setup() {
      size(640, 480, P2D);
      background(0);
      // Load and play the video in a loop
      myMovie = new Movie(this, "AURORA3.mov");
      myMovie.loop();
    }
    
    void movieEvent(Movie myMovie) {
      myMovie.read();
    }
    
    void draw() {
      tint(255, 20);
      image(myMovie, mouseX-myMovie.width/2, mouseY-myMovie.height/2);
    }
    

    code

    tweaks (0)

    about this sketch

    This sketch is running as Java applet, exported from Processing.

    license

    advertisement

    Gottfried Beyreuther

    Aurorascreenplay

    Add to Faves Me Likey@!
    You must login/register to add this sketch to your favorites.

    Just play with the mouse and let the film play meanwhile-my film about the use of the giant screen on the AURORA tower in Pudong Shanghai enjoy

    You need to login/register to comment.