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

@ -281,6 +281,7 @@ class SVGMobject(VMobject):
matrix[:, 1] *= -1
for mob in mobject.family_members_with_points():
# TODO, directly apply matrix?
mob.set_points(np.dot(mob.get_points(), matrix))
mobject.shift(x * RIGHT + y * UP)
except: