- Listen to deviceorientation event when available (only mobile devices)
- Push the orientation data to the central server using socket.io
- Broadcast the orientation of multiple devices
- Visualize the orientation using three.js
npm install
bower install
npm start
Connect with your local web browser and at least one mobile browser to http://<YOUR-IP>:4080
.
Now move your device(s). See: