About this demo
With PubNub, you can create a real-time collaborative demo in the web using PubNub's JavaScript SDK to update users in real-time with drawings, name changes, and mouse positions.
Features
- Publish: Update users in real-time with mouse positions, drawing, and name updates. 
- Subscribe: Listen for and view other mouse positions, drawing, and name updates in real-time. 
- Presence: Get currently present users and listen to new presence events. Generate new drawing pointers that track other user mouse positions and names. 
- Canvas: Use the Canvas element to draw 2D lines. 
