Each anonymous user generates a UUID to identify itself for the session, and sends cursor coordinates and view rectangle via database update. Logged-in users can also send actual username, but UUID could still be useful to track multiple window instances.
Separate database perhaps? Not part of the drawing, and global to the room, not e.g. the page; and not version-controlled.
[x] Cursor shows tool and color, like cursor.
[ ] View rectangle
[x] Timeout after a few minutes of inactivity: delete from database.
[x] Settings dialog to set your display name shown next to your cursor.
[x] Save via localstorage (#16)
[ ] Save if logged in
[ ] Start with a computer-generated anonymous name (like Google Docs' Anonymous Armadillo/animal)?
[ ] Ideally also a list of participants somewhere, and clicking on one brings you to their cursor (centered I guess). Like Google Docs. List can be collapsed or expanded? (#102)
Each anonymous user generates a UUID to identify itself for the session, and sends cursor coordinates and view rectangle via database update. Logged-in users can also send actual username, but UUID could still be useful to track multiple window instances.
Separate database perhaps? Not part of the drawing, and global to the room, not e.g. the page; and not version-controlled.
cursor
.