is it possible to stop the filter command before the end of the sketch once called? I have a number of different classes producing visualisations and I want to have the blur filter affect some but not others.
The filters are applied to what is already on the screen, it won't affect anything that you draw after calling filter.
Also, if you apply filter to a PGraphics, it will only affect this PGraphics.
Answers
The filters are applied to what is already on the screen, it won't affect anything that you draw after calling filter. Also, if you apply filter to a PGraphics, it will only affect this PGraphics.