Hi guys, I am currently trying to get the VtT sketch I have to send the string PrintIn(msg) through OSC or translate it into something addressable for another sketch, (I’d like to be able to turn these messages to PImage for a Kinect sketch.) Any assistance would be helpful.
import websockets.*;
import oscP5.*;
import netP5.*;
WebsocketServer socket;
OscP5 oscP5;
NetAddress myRemoteLocation;
void setup() {
socket = new WebsocketServer(this, 1337, "/p5websocket");
myRemoteLocation = new NetAddress("192.168.86.105",13000);
}
void draw() {
background(0);
OscMessage myMessage = new OscMessage("/test");
myMessage.add(123);
}
void webSocketServerEvent(String msg){
println(msg);
}