-
Notifications
You must be signed in to change notification settings - Fork 1
Home
goon- edited this page May 11, 2019
·
4 revisions
Version: 2
- joining a drawing session
- user must be able to create new drawing session
- when creating a session, user should be able to specify drawing area dimensions
- user must be able to join an existing session by URL
- user must be able to join an existing session by providing session ID
- user must be able to create new drawing session
- drawing session
- when inside a session, user is presented with a drawing area
- drawing area has dimensions as defined at the moment of its creation
- user can zoom in and out of drawing area
- user can scroll drawing area vertically and horizontally
- drawing area reflects actions of all other users of this drawing session in real time
- when inside a session, user is presented with a tool box containing availbale drawing tools
- user can select a tool from the tool box
- user can change the drawing area contents by interacting with the drawing area while having a tool selected
- (? needs additional testing) changes to the drawing area made by a user have to be immediately reflected on their drawing area regardless of the connection quality
- application server has to be notified about the changes to a drawing area made by a user
- application server has to notify other users' clients about the changes made by a user and these changes have to be reflected on theirdrawing areas
- all changes (including user's own) have to be applied in the same order as the server receives them
- drawing tools
- pencil
- user can click on the drawing area to change the color of a single pixel under the cursor to currently selected color
- user can click and drag the cursor across the drawing area to change the color of every pixel under the cursor to currently selected color
- pencil