This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Online collaborative drawing program

 
Len Padson
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello! I am trying to create a networked collaborative drawing applet, and I'm looking for suggestions as to the best, easiest, most efficient way to do so. To start, the only functionality I want is to be able to scribble on a canvas, so what should i send from the client to the server and then from the server out to all the clients? should i send the whole image? Should i send coordinates of the points drawn most recently? Or is there some third option that would be faster? I do not want to end up with an ArrayList of every coordinate of every line becasue then as time progresses response time will get slower and slower. So please help? Thank you!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic