using core.async go to draw figures on HTML5 canvas