p5.js-svg icon indicating copy to clipboard operation
p5.js-svg copied to clipboard

blendMode()

Open zenozeng opened this issue 9 years ago • 2 comments

zenozeng avatar Aug 17 '15 15:08 zenozeng

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: CleanShot 2021-06-17 at 07 55 07@2x But by adding it to Figma and selecting blend mode I got this: CleanShot 2021-06-17 at 07 55 38@2x 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!

mhauken avatar Jun 17 '21 06:06 mhauken

Thanks @mhauken , that's helpful. I will try to implement blendMode using mix-blend-mode.

zenozeng avatar Jun 17 '21 15:06 zenozeng