Is it possible to make a drawing program in JavaScript such that I and my friend draws the same picture at the same time? How can I move the picture from a www-site canvas to my friends www-browser?
I think you can do it with http://socket.io/ There's some good tutorials around the web, I think there's also a thread here on stackoverflow. In my understanding, you have to create a drawing app that sends the user's interactions to the server. Or you could save the canvas as a data-url image and then send it to the server but that would be slower
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments