Abstract
Abstract
calculate(Re-)Calculates the parameters of the cubic function. See https://math.stackexchange.com/questions/3173469/calculate-cubic-equation-from-two-points-and-two-slopes-variably and https://jirkadelloro.github.io/FUDGE/Documentation/Logs/190410_Notizen_LS
Abstract
evaluateCalculates the value of the function at the given time.
the point in time at which to evaluate the function in milliseconds. Will be corrected for offset internally.
the value at the given time
Calculates the values between AnimationKeys. Represented internally by a cubic function (
f(x) = ax³ + bx² + cx + d
). Only needs to be recalculated when the keys change, so at runtime it should only be calculated once.Authors
Lukas Scheuerle, HFU, 2019 | Jonas Plotzky, HFU, 2025