                     label.height == size.height
                 }
             }
+            
+            let l: AngleGradientLayer = self.layer as! AngleGradientLayer
+           l.locations = angles
         }
     }
     

        for emotion in topLevelEmotions {
            let label = LTMorphingLabel()
            label.text = emotion
            self.addSubview(label)
            topLevelEmotionLabels[emotion] = label
        }

                label.height == centreSize.height
            }
            
            var angles: Array<AnyObject> = []
            var incr = 2 * M_PI / Double(topLevelEmotions.count)

            for (i, (emotion, label)) in enumerate(topLevelEmotionLabels) {
                println(emotion)
                let size = label.intrinsicContentSize()
                let angle = Double(i) * incr
                angles.append(angle / 2 * M_PI - 0.5 * M_PI)
                layout(centreEmotionLabel, label) { centreLabel, label in
                    label.centerX == centreLabel.centerX + sin(angle) * 75.0
                    label.centerY == centreLabel.centerY + cos(angle) * 75.0
