--- Processing3.0 Code---
Just changing the values on the video array and different combinations on the display size window and positions
//Movie library
import processing.video.*;
//Declare movie array
Movie [] allMovies= new Movie[16];
void setup() {
//Keep the aspect ratio 16:9
size(800, 450);
//Max values for hue, sturation, brightness and alpha
colorMode(HSB, 360, 100, 100, 100);
background(50, 75, 93);
//Fill the movie array
for (int i= 0; i < allMovies.length; i++) {
allMovies[i]= new Movie(this, "Ilm_vid0"+(i+1)+".m4v");
allMovies[i].loop();
}
}
void draw() {
int tamX= width/4;
int tamY= height/4;
float sat =map(mouseX, 0, width, 0, 100);
// Display all the movies at the same time in different positions
for (int i= 0; i < allMovies.length; i++) {
int posX= (i % 4) * tamX;
int posY= (i / 4) * tamY;
//dispalying videos changing saturation
tint(130, sat/2, 100, 10);
image (allMovies[i], posX, posY, tamX, tamY);
}
}
void movieEvent(Movie Ilm) {
Ilm.read();
}