timdream / wordcloud2.js

Tag cloud/Wordle presentation on 2D canvas or HTML

Home Page:https://wordcloud2-js.timdream.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using own mask image?

PeterOeClausen opened this issue · comments

Hey @timdream,
First of all, thank you for making this 😄

On your website: https://wordcloud2-js.timdream.org under the "Mask image" tab.
It's possible to upload your own image to be used as a mask.
However I can't see a function in the API Docs for this: https://github.com/timdream/wordcloud2.js/blob/gh-pages/API.md

Is this functionality a part of the npm package? Have you forgotten to include it in the API.md? Or is this not something one can use?

Best, Peter.

It's a quick app I throw together in the demo page. Not part of the library hence not documented on the API.md. You can look at the demo and create your own.

Thanks for asking BTW.