adds a draw to canvas from url function