I'm a little new to this processing thing and I'm currently working on a project where I am trying to take a frame, add it to the next frame but have the two frames merge and create a new image based on the blended image of the first 2 frames. Then continue this process indefinitely. (Sorry if that is a bit complicated -> check code for more clarification)
I have tried using a blend() function continually on the image but it seems that you can't save a blend() into a PImage to be used later.
I have currently written a quick little blend function that returns a blended image but it doesn't seem to be doing the trick.
Ultimately I hope to have only the brightest pixels make their way to the front of the "accu" PImage.
Any help would be greatly appreciated - or if you have any other criticisms of the code I could use anything at all. Thanks you for your help in advance!