Don’t have the time to test it right now, but I think that it will stop the primary/gui thread. So maybe if you’ll run a second thread that will do the actual processing and drawing it will still work.

If non of you will I can try and test it tomorrow.