interpolate method
Implementation
void interpolate(Mobject a, Mobject b, double alpha, {PathFunc? pathFunc}) {
var _pathFunc = pathFunc ?? straightPath;
points = _pathFunc(a.points, b.points, alpha);
interpolateColor(a, b, alpha);
}
void interpolate(Mobject a, Mobject b, double alpha, {PathFunc? pathFunc}) {
var _pathFunc = pathFunc ?? straightPath;
points = _pathFunc(a.points, b.points, alpha);
interpolateColor(a, b, alpha);
}