You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As far as I've been able to tell, calling drawing functions (like ellipse()) inside the clientEvent() function isn't actually drawing anything to the canvas.
My workaround was to save received data to an array and draw in draw(), but is this a known issue or conceivably something I'm screwing up myself. Can't seem to find anything easily online about this.
(This is in Processing 3.3.2 on Mac OS 10.12.4)
The text was updated successfully, but these errors were encountered:
Ah, thanks for filing this. Yes, this is my mistake to draw in clientEvent(), this will cause problems as it happens in a separate "thread." I'll try look into a better way to do this soon.
As far as I've been able to tell, calling drawing functions (like
ellipse()
) inside theclientEvent()
function isn't actually drawing anything to the canvas.My workaround was to save received data to an array and draw in
draw()
, but is this a known issue or conceivably something I'm screwing up myself. Can't seem to find anything easily online about this.(This is in Processing 3.3.2 on Mac OS 10.12.4)
The text was updated successfully, but these errors were encountered: