class MovieWrap {
String moviePath;
Movie movie;
PApplet applet;
int x,y,w,h;
boolean visible;
float mSpeed = 1.0;
MovieWrap(PApplet Applet, String Path) {
applet = Applet;
moviePath = Path;
visible = true;
movie = new Movie(applet,moviePath);
}
void setPosition(int X, int Y) {
x = X;
y = Y;
}
void setDimension() {
movie.play();
movie.jump(movie.duration());
if(movie.available()) {
movie.read();
}
movie.jump(0);
w = movie.width;
h = movie.height;
movie.loop();
}
void draw() {
//if(visible) {
movie.speed(mSpeed);
if(movie.available()) {
movie.read();
}
image(movie,x,y);
//}
// println(x + " " + w);
}
void setSpeed(float Speed) {
mSpeed = Speed;
}
}
Archives
Categories
Blogroll
the name’s rodger



come to
BIG SCREENS
March 1st 630pm
IAC 18th and West St.



Close Encounters of the Third Kind (1977) Music Scene (by Films7art)

w/e


John Stezaker