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 "https://unpkg.com/ixfx/dist/modulation.js";Easings.crossFade(0.5, Easings.Named.sineIn, Easings.Named.sineOut); Copy
import { Easings } from "https://unpkg.com/ixfx/dist/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
amt
values:easing(0)
value.easing(0.2)
valueseasing(0.5)
valueseasing(0.8)
valueseasing(1)
value.So easingB will only ever kick in at higher
amt
values andeasingA
will only be present in lower values.