local R,l,a=math.sin,math.cos,math.asin local function M(R,l,a,M)return(a*R)/M+l end local function U(R,l,a,M)R=R/M return((a*R)*R)*(3-2*R)+l end local function E(R,l,a,M)R=R/M return(((a*R)*R)*R)*(R*(6*R-15)+10)+l end
-- Where applicable
-- a = amplitude
-- p = period

local sin, cos, asin = math.sin, math.cos, math.asin

local function Linear(t, b, c, d)
	return c * t / d + b
end

local function Smooth(t, b, c, d)
	t = t / d
	return c * t * t * (3 - 2 * t) + b
end

local function Smoother(t, b, c, d)
	t = t / d
	return c * t * t * t * (t * (6 * t - 15) + 10) + b
end
