We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I'm trying to do a collaborative drawing website (very original, I know) but whenever the function for drawing a line is called when the other client sends out a data variable with the current and previous mouse positions, the lines look very pixelated as displayed in the screenshot below (right side is the one that drew, which happens in draw() and left side is the client that received it over the socket): https://gyazo.com/0c1e7b2fc823c1974c2b9fffac1c45f9
I'm using express and node to create it.
This is the current client code for drawing: http://pastebin.com/7DnTF8mn
If someone could point me in the right direction It'd be very appreciated!