globalCompositeOperation in P5

I was watching the video below talk about the globalCompositeOperation
And I wondered how this is used in P5.js

It’s similar but different to (blendmode)[ <blend-mode> - CSS: Cascading Style Sheets | MDN]

So I made this tester, there are some interesting effects

Yes, there is a function called blend() in p5.Image you can check it out over here:
blend() Reference

1 Like