I'm making a processing application in which some data is interpolated in a separate thread from the main one. In this new thread, I have the line color aColor = color(255-(255*_hue[0]), 255, 255);. (the colorscheme is HSB).
This line causes the screen to flash red. It seems the line (who's variable aColor is *never* used) is causing some serious colour changes in the application window. There is no image being drawn or anything.
I am wondering if this is some sort of bug with processing, if there is a solution, or even if there is a workaround. Thanks