wordcloud2.js icon indicating copy to clipboard operation
wordcloud2.js copied to clipboard

fix: use one mask canvas for applying

Open KatherineWinter opened this issue 5 years ago • 3 comments

Use one mask to apply background color and transparent areas. Downside, gradients cannot be used as background color.

KatherineWinter avatar May 10 '20 19:05 KatherineWinter

We will need to move createMaskCanvas.js somewhere outside of src since it is part of the demo, not the library. Perhaps assets? Please also move index.js to that directory too.

I didn't look into the function too much, but thanks for the contribution!

timdream avatar Dec 12 '20 20:12 timdream

Bu

We will need to move createMaskCanvas.js somewhere outside of src since it is part of the demo, not the library. Perhaps assets? Please also move index.js to that directory too.

I didn't look into the function too much, but thanks for the contribution!

I would like to make it part of the library, I'll move stuff around

KatherineWinter avatar Dec 18 '20 23:12 KatherineWinter

I would like to make it part of the library, I'll move stuff around

I would like to keep the demo and the library separate :)

timdream avatar Dec 19 '20 07:12 timdream