Several users have reported issues with stability of Processing using the previous version, and others observing image corruption in the Processing viewer possibly due to missed bytes.
This PR reduces memory usage by moving the image array declarations outside of the draw loop and removing the image double buffering. The double buffer seems to have been redundant as the displayed image is not updated until .updatePixels() is issued.
Several users have reported issues with stability of Processing using the previous version, and others observing image corruption in the Processing viewer possibly due to missed bytes.
This PR reduces memory usage by moving the image array declarations outside of the draw loop and removing the image double buffering. The double buffer seems to have been redundant as the displayed image is not updated until
.updatePixels()
is issued.