Skip to content
⭐️ Transforming a CSS lightsaber using HTML5 deviceorientation and Socket.IO
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
.gitignore
README.md
package.json
server.js

README.md

Lightsaber Controller

Transforming a Scoth.io lightsaber using CSS3, HTML5 device orientation, Node.js and Socket.IO

YouTube example

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!

You can’t perform that action at this time.