A community-maintained Python framework for creating mathematical animations.
Added match_background_image_file
Grant Sanderson22c4ddb0041c
diff --git a/mobject/vectorized_mobject.py b/mobject/vectorized_mobject.pyindex ef482bbd2..603a28673 100644--- a/mobject/vectorized_mobject.py+++ b/mobject/vectorized_mobject.py@@ -165,6 +165,10 @@ class VMobject(Mobject):def get_background_image_file(self):return self.background_image_file+ def match_background_image_file(self, vmobject):+ self.color_using_background_image(vmobject.get_background_image_file())+ return self+## Drawingdef start_at(self, point):if len(self.points) == 0: