Returns a 'crossfader` function of two easing functions, synchronised with the progress through the easing.
Example amt values:
amt
easing(0)
easing(0.2)
easing(0.5)
easing(0.8)
easing(1)
So easingB will only ever kick in at higher amt values and easingA will only be present in lower values.
easingA
import { Easings } from "@ixfx/modulation.js";Easings.crossFade(0.5, Easings.Named.sineIn, Easings.Named.sineOut); Copy
import { Easings } from "@ixfx/modulation.js";Easings.crossFade(0.5, Easings.Named.sineIn, Easings.Named.sineOut);
Easing A
Easing B
Numeric value
Returns a 'crossfader` function of two easing functions, synchronised with the progress through the easing.
Example
amtvalues:easing(0)value.easing(0.2)valueseasing(0.5)valueseasing(0.8)valueseasing(1)value.So easingB will only ever kick in at higher
amtvalues andeasingAwill only be present in lower values.