Skip to content

bsingr/html5_deviceorientation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visualize HTML5 deviceorientation using three.js and socket.io

  1. Listen to deviceorientation event when available (only mobile devices)
  2. Push the orientation data to the central server using socket.io
  3. Broadcast the orientation of multiple devices
  4. Visualize the orientation using three.js

Getting Started

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:

demo

About

Visualize HTML5 deviceorientation using three.js and socket.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published