Browse files

Added animata example and updated README file.

  • Loading branch information...
1 parent 5917d1a commit f7086a781c2f453cce416f452e779d4fc882c82b Tony Gonçalves committed Dec 20, 2010
@@ -4,29 +4,29 @@ OSCeleton-examples
What is this?
-Just a couple of simple demos we created in processing to demonstrate how
+Just a few simple demos we created to demonstrate how
to use [OSCeleton](
+We have 2 processing sketches and 1 animata skeleton animation.
How do I use it?
-You first need to install avin's hacked Primesense PSDK driver for kinect:
+Go get [OSCeleton](, follow
+the instructions there and run the OSCeleton executable.
+For the processing examples you need to get and install the
+[OscP5 library](
-Folow his instructions for installing the OpenNI framwork, the driver, and the NITE middleware.
-Then go get [OSCeleton]( and
-run the executable.
-For both examples you need to get and install the [OscP5 library](
-For the stickmanetic example you additionally need to get and install
+For the stickmanetic processing sketch you additionally need to get
+and install
Run the skecthes ;)
+We also have an animata demo. Run OSCeleton with the options you see
+in the .bat file, open the animata animation and have fun!
OSC Message format
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -0,0 +1 @@
+OSCeleton.exe -k -mx 640 -my 480 -ox -160
@@ -11,7 +11,7 @@ Hashtable<Integer, Skeleton> skels = new Hashtable<Integer, Skeleton>();
void setup() {
- size(screen.height*4/3, screen.height, OPENGL); //Keep 4/3 aspect ratio, since it matches the kinect's.
+ size(screen.height*4/3/2, screen.height/2, OPENGL); //Keep 4/3 aspect ratio, since it matches the kinect's.
oscP5 = new OscP5(this, "", 7110);
@@ -23,6 +23,8 @@ void setup() {
// Here you can easily see the format of the OSC messages sent. For each user, the joints are named with
// the joint named followed by user ID (head0, neck0 .... r_foot0; head1, neck1.....)
void oscEvent(OscMessage msg) {
+ msg.print();
if (msg.checkAddrPattern("/joint") && msg.checkTypetag("sifff")) {
// We have received joint coordinates, let's find out which skeleton/joint and save the values ;)
Integer id = msg.get(1).intValue();
@@ -183,4 +185,4 @@ void draw()
File renamed without changes.
File renamed without changes.

0 comments on commit f7086a7

Please sign in to comment.