Hi, I am looking for a tweakable function, which I believe somebody already calculated - it has shape of an S-function/logistic function, but with a few additional properties.
Basically I want a tweakable interpolation function - that for tweakable constant s=0 or 1(doesn't matter) goes from linear interpolation and converges to a "set" interpolation as 's' goes to infinity and having some smooth interpolation between, see the picture:
Input are real numbers from 0.0 to 1.0
f(0.0) = 0.0
f(0.5) = 0.5
f(1.0) = 1.0
Not sure if it's possible and still keeps the nice shape, but Ideally the first derivation should be:
f '(0) = 0
f '(1) = 0
Since it's meant for games, I am ok if we neglect the derivation condition as long as the formula is simple and curve is "nice".