I've been having some difficulty adding contributed tools to the core set. The
documentation sounds very simple: Unzip the contributed tool and add to the "tools" folder in the Processing sketchbook. Unfortunately after multiple tries, including creating new folders, restarts, and fresh downloads, I've encountered little success.
The incompatibility doesn't appear to be isolated to one tool in particular, since I've downloaded "Timeline", "BezierEditor" and "ProcessingJS" tools with no success. Interesting though is tools can be added via the "Add Tool …" option in the pull down menu and appear as expected in the "tools" folder along with the (failed) contributed tools.
Is there a way to get the contributed tools to populate in the "Add Tool…" menu, or am I missing something altogether?
I'm having difficulty getting the Kinect to track at full screen — I can manage static images to display at full screen but motion-sensitive activity is isolated to the standard Kinect 640 x 480 depth camera parameters in the upper left hand corner of the screen.
I tried swapping out all "int" values to match the screen size (or pretty much any size larger than 640 x 480) but always get an error message: "ArrayIndexOutOfBoundsException". Any ideas for how to solve this?
void draw() { for (int y = 10; y < screen.height; y += 10) { for (int x = 10; x < screen.width; x +=10) { point(x, y);
} }
closestValue = 8000;
kinect.update();
int[] depthValues = kinect.depthMap();
for(int y = 0; y < 480; y++){ for(int x = 0; x < 640; x++){
// reverse x by moving in from // the right side of the image int reversedX = 640-x-1;
// reversed x to calculate // the array index int i = reversedX + y * 640; int currentDepthValue = depthValues[i];
// only look for the closestValue winin a range // 610 (or 2 feet) is the minimum // 1525 (or 5 feet) is the maximum if(currentDepthValue > 610 && currentDepthValue < 1525 && currentDepthValue < closestValue){