VJing with Processing
Recently a friend and I have been invited to join the fabulous Globalibre DJ Team as VJs for their monthly session at the Domicil. We are using VirtualDJ and Processing.
Second monitor settings
To make the sketch appear on the second monitor, a couple of minor things have to be set. Move the frame location to the other screen in the setup() routine:
[codesyntax lang="java" lines="normal"]
void setup() {
size(WIDTH,HEIGHT, OPENGL);
frame.setLocation(-1024,0);
}
[/codesyntax]
And insert the following init() routine:
[codesyntax lang="java" lines="normal"]
public void init() {
frame.removeNotify();
frame.setUndecorated(true);
frame.setAlwaysOnTop(true);
// call PApplet.init() to take care of business
super.init();
}
[/codesyntax]
Remember to hide the mouse cursor with noCursor(); in draw().


