Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
assets
README.md
index.html
pointer.css
pointer.js

README.md

Overview

This example demonstrates how the Activity API can be used to implement collaboration awareness of mouse pointers. The example allows users to join the activity which immediately shares their mouse pointer. The mouse pointer is transmitted as a simple (x, y) coordinate. In addition the example shows where and when users click by visualizing the clicks through animations.

The activity API takes care tracking users as they join and leave and cleaning up the shared state of users as they leave the activity.