Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
devicemotion + websockets + node.js proof of concept for iOS4.2
JavaScript
Branch: master
Failed to load latest commit information.
.gitignore Initial commit
README Initial commit
client.js Initial commit
index.html Initial commit
sb.js Initial commit
server.js Initial commit
style.css Initial commit

README

You need:

- an iPad >= 4.2.1
- node.js
- socket.io (server + client)

Test URL (sorry the socket server won't be online all the time): http://cubiq.org/dropbox/sb/
Lock the device rotation before trying. What you'll see is a red ball you can crontrol by tilting the iPad.
If other users are connected you'll see them as grey balls. Communication happens thanks to websockets.

*Not ready for production*, this is just a proof of concept.

To-do:
- would be nice to add collision detection between balls.
Something went wrong with that request. Please try again.