I can’t get the Syphon client to work in Processing 2 beta 3. Server works fine, and client and server work in other apps (Isadora, Jitter). Running the following code, the console says no server’s connected:
import processing.opengl.*;
import codeanticode.syphon.*;
PGraphics canvas;
SyphonClient client;
void setup() {
size(400, 400, OPENGL);
canvas = createGraphics(400, 400, OPENGL);
client = new SyphonClient(this, “woot”);
}
void draw() {
if (client.available()) {
canvas = client.getGraphics(canvas);
println(“Connected!”);
}
image(canvas, 0, 0);
println(client.description());
}
void keyPressed() {
if (key == ‘ ‘) {
client.stop();
} else if (key == ‘d’) {
println(client.description());
}
}