How to reset a PGraphics ?
in
Core Library Questions
•
10 months ago
Hello !
I would like to animate something inside a PGraphics (with a transparent background) but I don't find any way to reset totally a PGraphics instance. I would like to apply a transparentBackground that erase all the content I have inside the PGraphics.
The only way I found is to create a new PGraphics for each frame, but it take immediatly too much memory and crashes.
Do you think it's possible to add the "reset-feature" in the next release ? It could be very helpful.
Thanks !
1