by MarkMc · 12y ago · 0 comments
Uploading the entire canvas would far too inefficient - I simply upload the points.
The transfer between two clients uses a technique called 'long polling'. That is, the client sends an HTTP request to the server, and the server doesn't respond until it has received a message (ie. stroke) from another client.
The fit process could likely be done client-side, and could offer some subtle smoothing if wanted?
Anyhow, really nice execution!