I need to receive a random one video mixed with another when it ends. One to another transition by level mixing. I do not understand how to make the mixing depended the duration video.and how to make a mix m1 goes from high to complete absence and m2 inverse
import processing.video.*;
Movie [] m1 = new Movie [15];
Movie [] m2 = new Movie [15];
int movieIndex=0;
float totalTime = 0.10;
int numPixels;
int typeBlend = ADD;
void setup() {
size( 1920, 1080 );
//here you need to randomly loaded
//where one ends and another has entered so in the loop