         self.activityImg3 = imageViewActivity3
         self.activityImg4 = imageViewActivity4
         
-        view.addSubview(activityImg1)
-        view.addSubview(activityImg2)
-        view.addSubview(activityImg3)
-        view.addSubview(activityImg4)
-        
-        drawCircle()
-        
-        roatateOnce()
+        
+        let centreView = UIView()
+               let centreFrame = CGRect(x: (self.view.frame.size.width/2) - 5, y: (self.view.frame.size.height/2) - 5, width: 10, height: 10)
+centreView.frame = centreFrame
+        centreView.backgroundColor = UIColor.orange
+        self.view.addSubview(centreView)
+        
+//        view.addSubview(activityImg1)
+//        view.addSubview(activityImg2)
+//        view.addSubview(activityImg3)
+//        view.addSubview(activityImg4)
+        
+        
+        //drawCircle()
+        /*
+        drawCircle2()
+       drawCircle3()
+        drawCircle5()
+        */
+        
+        
+        //drawCircle4()
+        //rep()
+        
+        //roatateOnce()
+        
+        let size = CGFloat(150)
+        
+       drawLab(percentage: 0.1, size: size, duration: 5)
+        drawLab(percentage: 0.95, size: size * 0.9, duration: 2)
+        drawLab(percentage: 0.75, size: size * 0.8, duration: 3)
+        drawLab(percentage: 0.85, size: size * 0.7, duration: 4)
 
     }
 

        
        let rotationAnimation: CAAnimation = {
            let animation = CABasicAnimation(keyPath: "transform.rotation.z")
            animation.fromValue = 0
            animation.toValue = M_PI * 2
            animation.duration = 4
            animation.repeatCount = MAXFLOAT
            return animation
        }()

        shapeLayer.strokeColor = UIColor.red.cgColor
        //you can change the line width
        shapeLayer.lineWidth = 2.0
        //shapeLayer.backgroundColor = UIColor.lightGray.cgColor
        let shapeWidth = CGFloat(60)
        let shapeHeight = CGFloat(60)
        
        let theFrame = CGRect(x: (self.view.frame.size.width/2) - (circleRadius/2), y: (self.view.frame.size.height/2) - (circleRadius/2), width: circleRadius, height: circleRadius)
        
        
        shapeLayer.frame = theFrame
        
        //let screenCenter = CGRect(x: self.view.bounds.size.width/2, y: self.view.bounds.size.height/2, width: 100, height: 100)
        shapeLayer.bounds = shapeLayer.frame
        shapeLayer.backgroundColor = UIColor.lightGray.cgColor
        //shapeLayer.bounds = CGRect(x: self.view.frame.size.width/2, y: self.view.frame.size.height/2, width: (shapeLayer.path?.boundingBoxOfPath.width)!, height: (shapeLayer.path?.boundingBoxOfPath.height)!)
        self.view.layer.addSublayer(shapeLayer)
//
        
        /*
        let rotateAnimation = CABasicAnimation(keyPath: "transform.rotation.z")
