title: Rotate back to 0 degrees Logarithmically
body: <p>When the user releases their finger I want my sprite to rotate back to 0 degrees. At the moment it is done like this:</p>
  
  <pre><code>if (touching == NO &amp;&amp; rotationValue != 0)
  {
      if (rotationValue &lt; 180 &amp;&amp; rotationValue &lt; 0)
      {
          rotationValue += 1.5; 
      }
      else
      {
          rotationValue -= 1.5;
      }
  
      if (rotationValue &lt; 1 &amp;&amp; rotationValue &gt; -1)
          rotationValue = 0;
  }
  </code></pre>
  
  <p>Can anyone help me so when the sprite rotates back Logarithmically, so it starts rotating faster then slows down as it reaches 0.</p>