devicemotion + websockets + node.js proof of concept for iOS4.2
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore Initial commit Nov 29, 2010
README
client.js
index.html Initial commit Nov 29, 2010
sb.js Initial commit Nov 29, 2010
server.js Initial commit Nov 29, 2010
style.css

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.