Skip to content
devicemotion + websockets + node.js proof of concept for iOS4.2
JavaScript
Find file
Latest commit 5d9cc86 @cubiq Initial commit
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

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.