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

How to randomize the filling order?

newjie opened this issue · comments

By default, the center area of the container are always filled first, followed by outer space. How can I randomize this order? For example, if I set the origin to be [50,50], the first word could appear at [0,0] and the second [100,100].

change the font size everytime could be help. 👻

I don't see how changing font size has to do with this..

I don't see how changing font size has to do with this..

Although, changing the font size can effect the position of each text slightly. You can random the text list order in the meantime.