Timothy Guan-tin Chien
Timothy Guan-tin Chien
Thank for the contribution. I don't think the fix is correct. `Math.floor(Math.max(ngx, ngy) / 2)` is the distance to the nearest edge from the center, right? First of all, `center`...
Sorry for the late reply. You could pass a function into the `color` option and set the color there, but I admit it would need a little more filtering in...
Thanks for filing. Each of the instance has it's own 2-d array that keep the area of undrawn area. The text would over each other if you try to draw...
Would you mind submit a pull request? What it solves? Your comment looks ambiguous to me.
@frankmayer I see what you are talking about. The css `left` and `top` are referenced against the [containing block](https://www.w3.org/TR/css-position-3/#cb). The easiest way to create a containing block would be to...
Demo page works because https://github.com/timdream/wordcloud2.js/blob/gh-pages/index.html#L30 https://github.com/timdream/wordcloud2.js/blob/gh-pages/index.html#L36 If we adopt the fix suggested above, we could actually remove these styles.
Thanks for filing!
Oh crap, I can actually crash the tab on Chrome with your code here ...
... and Firefox hangs w/o any way to recover. I would have to kill the browser.
I now concluded this is a bug of the browser, or even the canvas API, but not on the library side. The browsers died at `getImageData()` call presumably the large...