I've been trying to figure out some problems I'm having with this app.
The concept is, that we use the Kinect to capture peoples outline, in the form of a shadow. After a certain amount of time (frames in this case) the recording starts to loop and people see their own shadow as it was earlier. So far so good.
We use a PImage to store the 'video'. Now I'm having trouble with 2 things. First is I want to have multiple recordings. So when PImage1 starts looping I want to record another one, and so on until a maximum of 5 or so. The other thing is, that after a certain amount of time I want the first recordings to be reset, so that a new one can begin.
I can't seem to succeed in resetting a PImage, probably because my approach is wrong in the first place. The other thing is, when I make multiple recordings, that I always get memory errors, increasing the available RAM does not solve the problem.
I am in no way experienced enough to tackle this myself. After hours and hours of trial and error (mostly error) I come to ask for some assistance. Let me share the code so far.