We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi All--
I am working on an application and I have built a GUI for it using controlP5. The problem is, there are some lengthy for loops in my draw loop and the GUI only updates after every cycle through the draw loop. The result is that the GUI isn't responsive enough. Is it possible to set up some multithreading with one thread for my controlP5 gui and another thread for all my computations? I thought others would have tried this but nothing comes up in a search. Am I missing something regarding the possibility of doing this?
Answers
maybe you could avoid the for-loops and instead rely on the looping of draw() itself
so say i++;
if i>= max i=max;