code: function() {
          var width = canvasWidth,
            height = canvasHeight,
            positionX = canvasWidth / 2,
            positionY = canvasHeight / 2,
            alphaPercentage = (width / 100) * self.currentPercentage;
  
          //clearing canvas from everithing
          clear();
          //let's start drawning
          ctx.restore();
          ctx.beginPath();
          //draw percentage text
          ctx.font = font;
          ctx.fillStyle = color;
          ctx.textAlign = "center";
          ctx.fillText((self.currentPercentage | 0) + "%", positionX, positionY - (lineWidth + 10));
          //width of the preloader line
          ctx.lineWidth = lineWidth;
          //color of preloader line
          ctx.strokeStyle = color;
          if (glowColor) {
            ctx.shadowOffsetX = 0;
            ctx.shadowOffsetY = 0;
            ctx.shadowBlur = 10;
            ctx.shadowColor = glowColor;
          }
          ctx.moveTo(positionX - (width / 2), positionY);
          ctx.lineTo(alphaPercentage, positionY);
          ctx.stroke();
  
          ctx.save();
        }
docs: /*
  
  Draw on the canvas the animation