Example Leap Motion code
JavaScript Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
WebSocketLeapGameV001
WebSocketLeapGameV002
README.md

README.md

Leap Hacking

Code to demonstrate assorted things you can do with a Leap Motion as covered by the site Leap Hacking

WebSocketLeapGameV001

This is a simple browser-based game that is controlled using WebSockets. In this version, there is a JRuby program that grabs the Leap frame data and converts various hand movements into custom WebSocket messages. This game connects to that program as the WebSocket server

WebSocketLeapGameV002

The same game as in V001 except it works directly from the Leap WebSocket server. It includes the leap.js JavaScript library. The code is also cleaned up some from V001.