/websockets-device-controller

WebGL demo powered by WebSockets and device accelerometer data to control things on the web.

Primary LanguageJavaScript

Device as a controller

WebGL demo powered by WebSockets and device accelerometer data to control things on the web.

Clone repo and run:

cd websockets-device-controller && npm install && bower install

Run server with node app.js.

Navigate from the desktop browser to http://localhost:3000. From your device to http://localhost:3000/game/.

Rotate device to control the ball.

Powered by Node.js, Three.js and Physi.js