Giter Site home page Giter Site logo

imclab / voxel-zigfu Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danfinlay/voxel-zigfu

0.0 1.0 0.0 60 KB

A module for puppeteering voxel skins with the Kinect or other OpenNI depth cameras using the in-browser Zigfu plugin.

Home Page: http://danfinlay.com/projects/voxeljs/zigfu

voxel-zigfu's Introduction

#Voxel-Zigfu# ##A module to pupeteer a voxel person with an OpenNI/NITE-enabled depth sensor (like the Xbox Kinect).## Run working example Screenshot

Presently the API is very simple. Just pass voxel-zigfu a minecraft-skin of your choice, and voxel-zigfu will take care of the puppeteering the limbs as you move in front of your OpenNI-enabled depth sensor of choice. Designed for use with Voxel.js. Here it is, tacked on to the end of the minecraft-skin sample code:

var kinect = require('voxel-zigfu')
var skin = require('minecraft-skin')

window.dan = skin(game.THREE, 'danf.png')
var danObject = dan.mesh
kinect.puppeteer(dan)
game.scene.add(danObject)
game.addItem(dan)
dan.mesh.position.y=50

Please note you will need to include the Zigfu source in your HTML page, and you will need their extension installed in your browser. You can get that at zigfu.com.

You can run a demo of the module using browserify and http-server. First make sure you have them both installed like so:

npm install browserify -g
npm install http-server -g

Then you can build the demo site and run it from your terminal:

browserify demo.js -o bundle.js
http-server

This will open a port on your localhost that you can open with your browser.

voxel-zigfu's People

Contributors

danfinlay avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.