mixerhasem.blogg.se

Dynamic word cloud generator
Dynamic word cloud generator







dynamic word cloud generator

  • A function taking the container width, the container height and a step number as parameters and returning a valid CSS font size.
  • An object with from and to values, expressed in fraction of container width (eg: 0.1, 0.04).
  • An array of sizes (px, em or %) from most to less important.
  • Text sizes used instead of CSS declaration (see Colors & sizes section), can be:
  • A function taking a step number as only parameter and returning a valid CSS color.
  • An array of colors from most to less important.
  • dynamic word cloud generator

    Can also be used for neat display animation!ĭon't render words which would overflow the containerĬolors used instead of CSS declaration (see Colors & sizes section), can be: Defaults to 10 if there are 50 words or more to avoid browser freezing during rendering. Number of milliseconds to wait between each word draw. is replaced by the weight of the word (from 1 to steps)įunction called after the whole cloud is fully rendered. Pattern used to generate the CSS class added to each word. Number of "steps" to map the words on, depending on their weight (see Colors & sizes section)

    #DYNAMIC WORD CLOUD GENERATOR UPDATE#

    If the container has dynamic dimensions, set this option to true to update the cloud when the window is resized. Position of the center of the cloud relatively to the container Fixed width of the container, will default to container current widthįixed height of the container, will default to container current height









    Dynamic word cloud generator