     }
     
     var mode: Mode = .performant
-    
     var pupilView = Pupil()
+    
     private class func plasticGrayColor() -> UIColor { return GooglyEye.plasticGrayColor(alpha: 1.0) }//That shitty yellowing gray color for degrading clear plastic.
     private class func plasticGrayColor(alpha: CGFloat) -> UIColor { return UIColor(red: 0.99, green: 0.99, blue: 0.99, alpha: alpha) }
     private class func cutoutRadius(dimension: CGFloat) -> CGFloat {return dimension/2 * 0.85}

        if orientation != currentOrientation {
            orientation = currentOrientation
            switch orientation {
            case .landscapeLeft: layer.setAffineTransform(CGAffineTransform(rotationAngle: CGFloat(M_PI_2)))
            case .landscapeRight: layer.setAffineTransform(CGAffineTransform(rotationAngle: -CGFloat(M_PI_2)))
            case .portraitUpsideDown: layer.setAffineTransform(CGAffineTransform(rotationAngle: CGFloat(M_PI)))
            default: layer.setAffineTransform(.identity)
            }
        }
    }
    
    private func ringLayerCenterPointForManufacturingDefects() -> CGPoint {
        guard let ringLayer = layer as? PlasticBase else {return .zero}
        return ringLayer.startCenter
    }
    
    private func adjustPupilForNewWidth() {

        
        override func draw(in ctx: CGContext) {
            super.draw(in: ctx)
            let radius = GooglyEye.cutoutRadius(dimension: bounds.width)
            ctx.drawRadialGradient(edgeShadowGradient!, startCenter: endCenter, startRadius: radius - (bounds.width*0.1),
                                   endCenter: startCenter, endRadius: radius + (bounds.width*0.035), options:  .drawsBeforeStartLocation)
