I’m working on a little image processing app, and I want to try building a custom blend mode.
Specifically, I want to use Divide (Newcolor= A/B)in my sketch, and p5js doesn’t have it-- is there a way for me to make it? Maybe implement it somewhere? I’d love any ideas on how to solve this or solutions to similar issues that have worked for you.
Hi @tinywitchdraws
Do you mean like filter types in the filter function?
We can use the pixels array and perform all kinds of operations on individual pixels. See here a blur example.