I'm using image() and blend() to combine two images. I'd like to add a checkbox using ControlP5 to enable/disable the display of the blended image. I was wondering how to go about clearing/removing the blended image, but leaving the background intact.
I'm working on a Processing application that draws connected lines based on where I click my mouse. I'd like to store my actions (start and end points) and then in another application, "replay" what I did (e.g., open up the data set that contained all my actions and redraw them in a fresh window). I was wondering if anyone has any advice on (a) how to record/write my actions (b) the format I should write them in (XML, JSON, TSV, CSV etc...) and (c) how to read back my actions. Thank you!