My first encounter with Processing!

I don't really understand the values I get from myPort.read().

Without seeing the sending code, neither do we.

That Processing code leaves a lot to be desired, though.

First, NO serial I/O should take place in draw(). There is a serialEvent() callback that you can override that should be used to read the serial data.

Second, you should have Processing buffer the serial data until some specific character (the end of packet marker) arrives. That can be the carriage return ('\n') sent by the Arduino (using println()).

Finally, in the serialEvent() callback, you should use the readStringUntil() method with the same end of packet marker. Then, parse the string as needed.