Reframe Mobject, VMobject and SurfaceMobject with a data map

This commit is contained in:
Grant Sanderson
2021-01-11 10:57:23 -10:00
parent b3335c65fb
commit 9314dfd933
10 changed files with 276 additions and 428 deletions

View File

@ -24,7 +24,7 @@ class Rotating(Animation):
def interpolate_mobject(self, alpha):
for sm1, sm2 in self.get_all_families_zipped():
sm1.points[:] = sm2.points
sm1.set_points(sm2.get_points())
self.mobject.rotate(
alpha * self.angle,
axis=self.axis,