Clipping
in
Programming Questions
•
3 years ago
Hi!
I'm wondering how to obfuscate part of the view area in a Processing sketch.
For example, if I have a steady stream of ellipses animating from the top left of the screen to the bottom right (see image), how would I go about only displaying as they pass a specific part of the screen? I've tried some various techniques, but haven't really come very close to what I want.
Some rules I need to abide are that the shapes that make up the clipping masks, as well as the background, have to be pitch black, i.e. #000000.
Any help would be greatly appreciated!
1