How to Animate Multiplayer Cursors
There's another approach that might work better.<p>Instead of sampling the mouse position every 100ms, you'd save off all the mouse positions, and then send the latest batch every 100ms.  The other side would then replay the exact positions, just delayed by 100ms.  It'll end up with the same latency as these motion smoothing approaches, while only using slightly more bandwidth.