title: PixiJS Random Rotation & Declining Speed
body: <p>I am trying to get a simple random "rotation" based on the angle property, and would like to achieve the following.</p>
  
  <ul>
  <li>Random Rotation, say "rotate" to 500 degrees</li>
  <li>Start with a high speed and when getting nearer to the "rotated" degrees, lower the "rotating" speed so that the stop is not instant.</li>
  </ul>
  
  <p>I put a basic concept of what I am trying to achieve on this link:
  <a href="https://www.pixiplayground.com/#/edit/yalRPEN~6tg3seIHq5hbI" rel="nofollow noreferrer">https://www.pixiplayground.com/#/edit/yalRPEN~6tg3seIHq5hbI</a></p>
  
  <p>In the animate function, if I put the let degrees = 2000; as a Math.Random value it screws up the animation as it seems that this animate function is called numerous times?</p>
  
  <p>Also, I tried using the speed property which would start off with a high value and starts to get lower with "rotations", but it seems to do nothing? Also tried using animationSpeed since I am using the angle property to change degrees, but I see no speed difference.</p>
  
  <p>Any feedback would be appreciated.</p>
  
  <p>Thanks</p>