I have two questions regarding two effects and their possible use in P5.js - if its possible or if there are any workarounds if not directly.
I would love to use MASKS (areas where images/geometries) are either visible or not.
Possibly modify these mask areas on the fly.
Is this even possible?
As I see it:
- there is some background
- than there is an yellow plane overlay
- then there is a mask applied on this yellow plane in shape of a font
Voila: you see _“through”_
Can this be somehow achieved in/with P5.js
Even with primitives it would be great (masks in form of rectangles would be sufficient), or font. ? Possibly move the mask, scale it? Rotate it?
2. BLENDING MODES
I would love to use blending modes between two images using P5.js
But between two images.
Is this possible?