edemaine / cocreate

Cocreate Shared Whiteboard/Drawing
MIT License
210 stars 27 forks source link

Cursor tracking #5

Open edemaine opened 4 years ago

edemaine commented 4 years ago

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.