         wavesA_Second = 13
         wavesW_Seocnd = 0.5/30.0
         
-        
-        
         firstWavesLayer.fillColor = UIColor.white.cgColor
         secondWavesLayer.fillColor = UIColor.white.withAlphaComponent(0.5).cgColor
         self.layer.addSublayer(firstWavesLayer)

        for i in 0...NSInteger(wavesWidth_First) {
            let y = wavesA_First * sin(wavesW_First * CGFloat(i) + offsetX_First) + wavesCurrentY_Frist
            path.addLine(to: CGPoint.init(x: CGFloat(i), y: y))
            
            guard let currentYOffsetBlock = currentYOffset else {
                return
            }
            currentYOffsetBlock(CGFloat(y))
            
            
            
        }
        path.addLine(to: CGPoint.init(x: wavesWidth_First, y: self.frame.size.height))
        
        path.addLine(to: CGPoint.init(x: 0, y: self.frame.size.height))
        
        path.close()
        
        firstWavesLayer.path = path.cgPath

    // ************************************
    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
