I'm still doing multimedia homework with processing. Now, my homework about how to invert image color and creating a masking. So, i've joined invert and masking the image, and the result was invert the image above ellipse.
I've added mouse function on this project, so the ellipse with invert image will be following your mouse. You just need import three variable, they are two PImg and one PGraphics. If you can't imagine what i've talking about. You can see image bellow. My project is like this.
![]() |
sample project |