Lightsaber Controller
Transforming a Scoth.io lightsaber using CSS3, HTML5 device orientation, Node.js and Socket.IO
How to use
$ git clone https://github.com/matiastucci/socket-starwars
$ cd socket-starwars
$ npm install
$ node server.js
Next, you have to change the baseUrl
variable in socket-starwars/public/desktop/script.js
and socket-starwars/public/mobile/js/services.js
with your IP address if you want to access this from your smartphone.
Then, point your browser to http://localhost:8080
Libraries in use
Desktop
Mobile
Cool project!