Missed one day in my daily Processing sketch. Today I worked on making a video kaleidoscope. Can't figure out how to convert Processing to Javascript mode in such a way that it can read and play a movie that is then transformed. This is an animation based on stills, and it lacks the soundtrack. Does anyone know how I can play a pre-recorded movie in Javascript mode?

import processing.video.*;
float r =0;
Movie movie;

void setup() {
size(640, 480);

// Load and play the video in a loop

movie = new Movie(this, "jumpcut.mov");


void movieEvent(Movie m) {

void draw() {


image(movie,-mouseX,-mouseY, width,height);
r= r+ 5;

Loading more stuff…

Hmm…it looks like things are taking a while to load. Try again?

Loading videos…