         setCurrentFirstWavesLayerPath()
         setCurrentSecondWavesLayerPath()
     }
-    
-    
+
     required init?(coder aDecoder: NSCoder) {
         fatalError("init(coder:) has not been implemented")
     }

        
        let path = UIBezierPath.init()
        path.move(to: CGPoint.init(x: 0, y: wavesCurrentY_Frist))
        
        
        for i in 0...Int(wavesWidth_First) {
            
            let y = wavesA_Second * cos( wavesW_Seocnd * Double(i) +  offsetX_Second * M_PI/2.0) + Double(wavesCurrentY_Frist)
            
            path.addLine(to: CGPoint.init(x: Double(i), y: y))
            
            
        }
        
        path.addLine(to: CGPoint.init(x: Double(wavesWidth_First), y: Double(self.frame.size.height)))

    // ************************************
    lazy var firstWavesLayer: CAShapeLayer = CAShapeLayer.init()
   fileprivate lazy  var wavesDisplayLink: CADisplayLink = CADisplayLink.init(target: self, selector: #selector(startwaves))
    var secondWavesLayer: CAShapeLayer  = { () -> (CAShapeLayer) in
        let layer = CAShapeLayer.init()
        return layer
