We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hello!
I'm trying to implement/use layers in Processing. I want to put an image on the background, and paint over the image... I want to erase the painted content but maintaining the background. I think that isn't a good option re-paint the background because is a lot charge...
First of all, I looked around the forum and other websites and I didn't found nothing...I only found a library from Nootropic, but it doesn't works with Processing 2.x so...
Any one can help me? Are there any library for this purpose? Or any form for implementing it using PGraphics or Pushmatrix/Popmatrix??
Thaaaaanks !!
Answers
Have you looked @ PGraphics class already? (~~)
You can use all regular drawing functions on it w/o affecting the main canvas (which is also a PGraphics object itself!). :bz
Yes, this is a job for PGraphics.
Thanks for the support !!
Why PG ?