     var radiansToDegrees: Self { return self * 180 / .pi }
 }
 
+// MARK: - Constants
+let defaultBackgroundColorTop = UIColor(red: 1.000, green: 0.357, blue: 0.525, alpha: 1.00)
+let defaultBackgroundColorBottom = UIColor(red: 1.000, green: 0.357, blue: 0.525, alpha: 1.00)
+
+
 class ScrubbableExampleViewController: UIViewController {
     
-    // MARK: - Constants
-    
-    
     // MARK: - Properties
     
     let scheduler = Scheduler()
     
     // MARK: - Layers
+    
+    let gradientLayer : CAGradientLayer = {
+        let layer = CAGradientLayer()
+        return layer
+    }()
     
     let sunMiddle: CALayer = {
         let layer = CALayer()

        
        CATransaction.commit()
    }


}

        return minValue.lerp(t: Double(moonOnScreenAmount), end: maxValue)
    }
    
    var backgroundColorTop = defaultBackgroundColorTop {
        didSet{ updateBackgroundGradient() }
    }
    
    var backgroundColorBottom = defaultBackgroundColorBottom {
        didSet{ updateBackgroundGradient() }
    }
    
    // MARK: - Methods
    
    override func viewDidLoad() {
        super.viewDidLoad()

        // Add sub layers
        view.layer.addSublayer(gradientLayer)
        view.layer.addSublayer(sunSideSpoke)
        view.layer.addSublayer(sunDiagonalSpoke)
        view.layer.addSublayer(sunMiddle)
