p5.js-svg
p5.js-svg copied to clipboard
blendMode()
I created this file and exported it with p5.js-svg. The blend-mode disappeared when I added svg to the canvas (as you probably know since you have this open issue). Then it looked like this:
But by adding it to Figma and selecting blend mode I got this:
When exporting it out from Figma as svg the blend mode works. The file is more or less the same, but with just
<g style="mix-blend-mode:multiply">
around the shapes. Not sure if that helps, or if I can help further, but maybe it now is easier than when you created this issue 6(!) years ago! Thanks for a great plugin!
Thanks @mhauken , that's helpful. I will try to implement blendMode using mix-blend-mode.