timdream / wordcloud2.js

Tag cloud/Wordle presentation on 2D canvas or HTML
https://wordcloud2-js.timdream.org/
MIT License
2.34k stars 510 forks source link

Refresh or redraw with new words dynamically #176

Open havardl opened 3 years ago

havardl commented 3 years ago

Hi, thanks for a great library!

I was just wondering how I can redraw the cloud with new words dynamically? There doesn't seem to be a update function, or am I missing something?

exemmer commented 3 years ago

Server Sent Events is an easy method. https://www.html5rocks.com/en/tutorials/eventsource/basics/