Turns ``self`` into an interpolation between ``mobject1`` and ``mobject2``.
(
self,
mobject1: Mobject,
mobject2: Mobject,
alpha: float,
path_func: PathFuncType = straight_path(),
)
| 193 | return self |
| 194 | |
| 195 | def interpolate( |
| 196 | self, |
| 197 | mobject1: Mobject, |
| 198 | mobject2: Mobject, |
| 199 | alpha: float, |
| 200 | path_func: PathFuncType = straight_path(), |
| 201 | ) -> Self: |
| 202 | """Turns ``self`` into an interpolation between ``mobject1`` and ``mobject2``.""" |
| 203 | self.set(points=path_func(mobject1.points, mobject2.points, alpha)) |
| 204 | return self |
| 205 | |
| 206 | |
| 207 | class ComplexValueTracker(ValueTracker): |
nothing calls this directly
no test coverage detected