• Each of your pixels is represented as 15 characters. You could make this shorter by:

    a. Removing spaces
    b. Converting to hex - e.g send FFEEDD, And send without a delimiter. You can send 40 or so of these in your 260 char packet.
    c. Send as binary - perhaps use the Dataview classes

  • The problem wasn't the data being sent, the problem was WebSockets being slow as hell. I can do this probably faster than 20ms now using raw TCP socket.

    But yes, that's a good point.

About

Avatar for Wilberforce @Wilberforce started