index.js
/**
     * Handle mouse move after cursor is out of initially clicked circle
     * @param {object} event
     */
Handle mouse move after cursor is out of initially clicked circle
@param {object} event
Handle mouse move after cursor is out of initially clicked circle @param { object } event
function handleMove(event){
      line.clear().lineStyle(3, 0x000000, 1);
      line.moveTo(from.x, from.y);
      line.lineTo(event.data.global.x, event.data.global.y);
      render();
    }
function handleMove ( event ) { line . clear ( ) . lineStyle ( 3 , 0x000000 , 1 ) ; line . moveTo ( from . x , from . y ) ; line . lineTo ( event . data . global . x , event . data . global . y ) ; render ( ) ; }
Handle mouse move after cursor is out of initially clicked circle
 @param {object} event
Handle mouse move after cursor is out of initially clicked circle @param { object } event
// Redraw user line