smoothstep
fn
float smoothstep(float from, float to, float weight) @trusted @safe nothrow @nogcReturns the smooth interpolation between from and to by weight using a cubic curve. Eases in and out, with zero first-order derivatives at both endpoints.