socket-starwars

:star: Transforming a CSS lightsaber using HTML5 deviceorientation and Socket.IO

3 years after

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!

Related Repositories

BookMark

BookMark

开源代码网址收藏! ...

bb-8

bb-8

My attempt to build a replica of the BB-8 droid from Star Wars. ...

starwars

starwars

HETIC P2019 ...

awesome-swift

awesome-swift

A collaborative list of awesome swift resources. Feel free to contribute! ...

awesome-swift

awesome-swift

A collaborative list of awesome swift resources. Feel free to contribute! ...


Top Contributors

matiastucci addyosmani