Year 2 - Projects
Year 2 - Projects
Year 1
Year 3 - Projects
Year 3 - Projects
Year 4 - Final Project
Year 4 - Final Project
Year 4 - Final Project
Processing net library test
I have began testing in processing to see how to use the net library. This will be my main tool for creating the networks so it is important i find any issues now before starting work on larger sketches.
I got some help from the processing forum on how to organize and read the messages sent between the computers.
Here is an example of a message :
"001\tSimon\t587\t124\f"
which is then broken down into :
001 Simon 587 124
[What Type of Message] [Username] [MouseX] [MouseY]
\t - splits up parts
\f - end of message
There could be multiple messages arriving at once. Using \f they are split apart and read individually. Any message without the right number of parts is ignored.