Creates an ease-out function based on an n-th degree polynomial
Degree of the polynomial
The easing function
Creates an ease-out function based on an n-th degree polynomial