title: Jquery Easing function
body: <p>I was studying a jquery easing function to use in a java application and ended with this:</p>
  
  <pre><code>// t: current time, b: begInnIng value, c: change In value, d: duration
      float easeInOutQuad (float x, float t, float b, float c, float d) {
          if ((t/=d/2) &lt; 1) return c/2*t*t + b;
          return -c/2 * ((--t)*(t-2) - 1) + b;
      }
  </code></pre>
  
  <p>can someone teach me how do i plug this into my animated sphere movement?</p>
  
  <p>EDIT: I wont put here unnecessary code describing my sphere movement. Imagine a sphere, with X position named X and it will go from 0 to 1000, using this easing function. How do i feed the function?</p>