Hi guys,
I'm hoping to make a dynamic word cloud that updates in (as close to) real time as possible, pulling the words and sentences from a database (happy to hear your ideas about what type of database would interface best/easiest).
Basically I'm hoping to have a few simple forms that would invite people to submit sentences and words about five categories. These responses will then be stored in some sort of database that is queried every few seconds (or push if that's somehow possible) to provide the data to generate five different word clouds as live as possible to be shown on five web pages on five computers at the front of the room.
I know that wordcloud processing scripts already exist, such as www.openprocessing.org/visuals/?visualID=7042, and I'd love it if this script was able to use it, but in all cases of user submitted libraries or projects they always pull the word list from a static txt file. Is there any way to get them to auto update (if I make the text file re-generate every few seconds), or even better, hook one of these existing projects up to read off a database?
Ideally I'd also like to have a list of all the database submissions (as they come in) just cascading down the screen. But I assume it'd be best to do this with a PHP script and AJAX frontend.
Has anyone heard of anything remotely similar (even if it's not processing based), or got any great ideas or suggestions on how to make this happen?
Any help would be greatly appreciated!
1