Closed RidleyDeckard closed 7 years ago
This is the image I'm trying to using as the mask;
I have same problem as you, did you fix it?
Same here.
@ozorOzora I've fixed, just make sure you run WordCloud(word_canvas, options);
after image.onload.
I fixed by
setTimeout(()=>{
WordCloud(word_canvas, options);
}, 500)
@Justinnng Thank you for helping out. Closing since it's not related to WordCloud itself.
I am not able to understand how to apply a mask . My wordcloud is not a proper circle so I am thinking of applying a mask of an image of circle. Can somebody share how to do this ?
So far , I have this by adding shape='circle' in the options but its not a perfect circle
i have the same problem , Can anyone tell me how to implement it in React? @timdream timdream
Hi there, I'm having real problems applying a mask, I can get it to work using your example without any problems, but when I try to set it up in a new page it seems to load the mask in, but then just ignores it.
I've set it up so that like in your demo it draws the word cloud, you then add the image mask and hit run, but it is just like the mask isn't there. Any idea where I'm going wrong?