How do you know that some code is missing if you can only see a screenshot of a detail?
This is the entire code, which I transcribed from the tutorial:
import oscP5.*;
import netP5.*;
OscP5 oscP5;
NetAddress myRemoteLocaton;
float circleSize;
void setup() {
size(400,400);
frameRate(25);
oscP5 = new OscP5(this,12000);
myRemoteLocation = new NetAddress("127.0.0.1",12000);
circlesize = 10;
}
void draw() {
background(0);
ellipse(width/2, height/2, circleSize, circleSize);
}
void mouseMoved() {
OscMessage myMessage = new OscMessage("/puredata");
myMessage.add(mouseX); /* add an int to the osc message */
/* send the message */
oscP5.send(myMessage, myRemoteLocation);
}
/* incoming OSC message are forwarded to oscEvent method. */
void oscEvent(OscMessage theOscMessage) {
/* print the address pattern and the typetag of the received OscMessage */
print("### received an osc message.");
print(" addrpattern: "+theOscMessage.addrPattern());
println(" typetag: "+theOscMessage.typetag());
println(" arguments: " + theOscMessage.get(0).intValue());
circleSize = theOscMessage.get(0).intValue();
}