Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

xbox kinect communicating with client side javascript via OSC and node.js

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 webroot
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 package.json
Octocat-spinner-32 readme.md
Octocat-spinner-32 server.js
readme.md

node-hands

intention

node-hands is a straight forward nodejs library which provides live x, y, and z hand coordinates from an xbox kinect to the browser via socket.io. if you're so inclined, click here for a demo video.

installation

  1. install libfreenect

  2. install liblo

  3. download and run node-hands

    git clone git@github.com:catshirt/node-hands.git
    cd node-hands
    npm install
    node server.js
    

    if you access localhost:8080 you'll have an open socket waiting for OSC messages.

  4. compile and run bionic-dj

    git submodule init
    git submodule update
    cd lib/bionic-dj
    gcc -lfreenect -llo -framework OpenGL -framework GLUT -I ~/Code/libfreenect/include bionic_dj.c
    ./a.out
    

    where ~/Code/libfreenect/include is the path to your libfreenect header files

bionic-dj should now be sending OSC messages which nodejs forwards to the browser.

Something went wrong with that request. Please try again.