Word Cloud Threads


I am using the code from this link openprocessing.org/sketch/48077 that creates a word cloud from a text file.

I have created a thread function to make sure it won't freeze while new data are loaded. However, it crashes sometimes, as the arrays change. Any suggested fix?

Here is a link if you would like to download the file I am working on with all text files. To change the text file while the program runs, just click any button.


Thank you!

Sign In or Register to comment.