I have a Processing.js sketch where all the devices connected to the same local network can access it for choosing a number between 0 and 150. The numbers float in the browser's window and when someone touches one of them it dissapears from the sketch.
The "normal" Processing sketch must know what numbers are still available for making an animation.
I don't know much Javascript, so please share a comprehensive explanation.
Processing.js sketch
String[] numbers_saved;
PFont font;
int numberQtty = 150;
int gridWidth = 15, gridHeight = 10;
int yOffset = 50, imageOffset = 10, textxOffset=21, textyOffset=25;
I'm trying to create a program that recognizes electric blue color at a particular depth. For this I'm using a kinect and SimpleOpenNI library in Processing 2.0b5. When I try to display the image created after filtering the colors I don't want, the pixels too far and the ones too close from my 'depth of interest', the program complains about running out of memory soon after it started.
I'd appreciate some advice of what I could I change to avoid the memory problem (I already tried increasing the limit in the IDE preferences window to 1 GB but it was unsuccessful).