lucaong / jQCloud

jQuery plugin for drawing neat word clouds that actually look like clouds
MIT License
646 stars 293 forks source link

What about a explode animation on the begining? #23

Open wildpash opened 12 years ago

wildpash commented 12 years ago

Just a fancy option. :O)

lucaong commented 12 years ago

That would be cool :) Need to figure out how to do that though. Any ideas?

wildpash commented 12 years ago

Mhh, the positional coordinates are already calculated maybe we only need to use jquery -> animate to move the word from center to the calculated position with a little speed increase to simulate exploding acceleration.

h0jeZvgoxFepBQ2C commented 9 years ago

+1! :)

h0jeZvgoxFepBQ2C commented 9 years ago

or a callback when a element is rendered... You could add "html: {style: "display:none"}" to each element, and then just do the animation you want by yourself..?

like:

$("#cloud").jQCloud(word_list, {
  element_rendered: function(element) {
    $(element).fadeIn();
  }}
);