jasondavies / d3-cloud

Create word clouds in JavaScript.
https://www.jasondavies.com/wordcloud/
Other
3.82k stars 1.07k forks source link

Added Support for Word Opacity #99

Closed dskvr closed 7 years ago

dskvr commented 8 years ago

Helpful ;)

stegben commented 8 years ago

cool feature!

dskvr commented 8 years ago

Unfortunately, I just noticed that I made these changes to the build file. Oops!

jasondavies commented 7 years ago

Thanks! As this isn’t used for the layout algorithm itself, I would suggest setting and accessing the opacity property in your own code, rather than extending the API to support it. All current layout options are related to word size, font, angle etc. which affect the layout algorithm, whereas •opacity* is only a concern for rendering the output.