Archive for July, 2011

Tutorial: Kinect to Flash

Saturday, July 2nd, 2011

In this tutorial, you will learn how to make Microsoft’s Kinect sensor communicate with an swf file as I recently demonstrated in a previous post. It actually doesn’t require a ton of code, but it does involve several different technologies and there is a bit of set up to get the Kinect side going that I won’t be going into detail on. However, links to the channel9 video tutorials are provided.

This tutorial will focus on the modifications to the C# code, the Node.js server and of course the Flash file and ActionScript. As usual, all files are available for download at the end of this tutorial. (more...)

Flash + Kinect = Success!

Friday, July 1st, 2011

If you've read my previous posts then you know I have been working with Microsoft's Kinect SDK for Windows. One of my goals from the start was to integrate Kinect with Flash and earlier this week I was successful in doing just that! I used a technique similar to what the Blitz Agency had done when the Prime Sense Kinect drivers were released earlier this year.

The concept is pretty simple: Kinect tracks the user's hand, sends the position data to a server and that server sends the data to Flash. I started by writing a very simple server with Node.js and then modified the skeletal tracking demo from the channel9 site to send data to the server using a standard socket. The only thing left to do then was set up an swf file to accept data from the server and use that data to move around a cursor. I'll post something more in-depth on this later, but for now you can check out the video below to see it in action!

Subscribe to RSS feed FGS5 Badge