     var animState:String = "anim"
     var fadeCount:Int = 0
     var cubeCount:Int = 0
-    var maxCubes:Int = 1000
-                    
+    var maxCubes:Int = 5000
+
+    var colorFade:Float = 0
+    var colorInc:Float  = 0
+    
+    var thisColor  = NSColor(red:0, green:0, blue:0, alpha: 1)
+    var nextColor  = NSColor(red:0, green:0, blue:0, alpha: 1)
+    var resetColor = NSColor(red:0, green:0, blue:0, alpha: 1)
+    var rgbColor   = NSColor(red:0, green:0, blue:0, alpha: 1)
+
     func setup() 
     {
         size.y = randint(60)+30 // number of cube rows, used to calculate cubeSize

     
        if skip != .UP
        {
            color.set()
            let path = NSBezierPath()
            path.moveToPoint(NSPoint(x: x   ,y: y))
            path.lineToPoint(NSPoint(x: x+w ,y: y+s))

        
        if skip != .RIGHT
        {
            rgbColor.darken(0.25).set()
            var path = NSBezierPath()
            path.moveToPoint(NSPoint(x: x    ,y: y))
            path.lineToPoint(NSPoint(x: x+w  ,y: y+s))
