Ease please?

This LESS function is designed to apply an easing pattern to styling groups such as text size, fills, box sizes, etc. The function accepts the following parameters.

interpolation
ease-in, ease-out, ease-in-out
power
1-5
input
A number (or unit) between 0 and 1 or less than 'compare'
compare
(Optional) A number or unit, eg. 100%

The following examples use 12 points evenly plotted between 5% and 100%. The group of points is first passed through 1:1, then interpolated with ease.

                       
//nothing here
                       
.ease(ease-in, 1.5, 5%, 100%);
                       
.ease(ease-out, 1.5, 5%, 100%);
                       
.ease(ease-in-out, 1.5, 5%, 100%);