Eased Oscillator
Produces a function that oscillates between two values with an easing function
Usage
var osciQuad = ; console; // 10// each time the function is called, the step value oscillates between the min and maxconsole; // 15console; // 20console; // 15console; // 10console; // 15// etc..
Users can also specify a custom easing function if they wish:
var linearOsc = ; console; // 0console; // 1console; // 2// etc..