NodeJS experiment to broadcast your mouse position, mouse click and scroll to all the other clients.
- Express
- Socket.io
sudo npm install
To see the effect open this link in multiple browser windows
All experiments can be start with the broadCastMousePosition.js
sudo nodejs broadCastMousePosition.js
sudo forever start -l forever.log -o out.log -e err.log -a broadCastMousePosition.js
When you got problems with ubuntu server because it can't find the node command execute the following line:
sudo update-alternatives --install /usr/sbin/node node /usr/bin/nodejs 99