We are about to switch to a new forum software. Until then we have removed the registration on this forum.
I have a thread which updates some objects i want to draw but how can i ask processing to redraw when the thread is done updating the objects?
if you set noLoop(), you gotta issue redraw() in order to render the canvas! http://processing.org/reference/noLoop_.html http://processing.org/reference/redraw_.html
Or just use a boolean blocking access to the updating objects, and when done, allow access to draw().
Answers
if you set noLoop(), you gotta issue redraw() in order to render the canvas!
http://processing.org/reference/noLoop_.html
http://processing.org/reference/redraw_.html
Or just use a boolean blocking access to the updating objects, and when done, allow access to draw().