 +  radians = ((float)frame / n_frames) * (G_PI / 2);
 +  sine = sinf (radians - (G_PI / 2));
  
--  sine = (sinf (x) + 1) * CLUTTER_ALPHA_MAX_ALPHA;
+-  sine = (sinf (x * (G_PI/180.0)) + 1) * CLUTTER_ALPHA_MAX_ALPHA;
 +  /* shift from range [-1, 0] -> [0, 1] */
 +  sine = sine + 1.0;
  

 
   x -= (512 * 512 / angle);
   
-  sine = ((sinf (x) + offset) / 2)
+  sine = ((cogl_angle_sin (x) + offset) / 2)
        * CLUTTER_ALPHA_MAX_ALPHA;
 

   ClutterTimeline *timeline;
   gint             frame;
   gint             n_frames;
-  float     x;
-  ClutterFixed     sine;
+  float            radians;
+  float            sine;
