Returns a modulator that mixes between two modulation functions.
Both modulators are given the same input value.
import { Easings } from"https://unpkg.com/ixfx/dist/modulation.js"; // Get a 50/50 mix of two easing functions constmix = Easings.mix(0.5, Easings.Named.sineIn, Easings.Named.sineOut);
// 10% of sineIn, 90% of sineOut Easings.mix(0.90, 0.25, Easings.Named.sineIn, Easings.Named.sineOut);
Returns a modulator that mixes between two modulation functions. Both modulators are given the same input value.