title: How do I get a Plymouth sprite to rotate?
body: <p>I'm working on a custom Plymouth splash for Kubuntu. I'm attempting to make an image rotate as the system is loading. I have tested it using both reboots and the X11 plugin and have been unsuccessful in both. Here's the .script file:</p>
  
  <pre><code>spiral_image = Image("Splash.png");
  spiral_sprite = Sprite(spiral_image);
  
  spiral_sprite.SetX(window.GetWidth() /2 - spiral_image.GetWidth() /2);
  spiral_sprite.SetY(window.GetHeight() /2 - spiral_image.GetHeight() /2);
  
  fun refresh_callback ()
  {
  time++;
  theta = time / 100;
  spiral_sprite.Rotate(theta);
  }
  Plymouth.SetRefreshFunction (refresh_callback);
  </code></pre>