A community-maintained Python framework for creating mathematical animations.
Fixed make_jagged
Grant Sandersond943f101230b
diff --git a/manimlib/mobject/types/vectorized_mobject.py b/manimlib/mobject/types/vectorized_mobject.pyindex d58aeda30..99df85e2c 100644--- a/manimlib/mobject/types/vectorized_mobject.py+++ b/manimlib/mobject/types/vectorized_mobject.py@@ -519,7 +519,11 @@ class VMobject(Mobject):return selfdef make_jagged(self):- return self.change_anchor_mode("corners")+ anchors = self.get_start_anchors()+ last_point = self.get_last_point()+ return self.set_points_as_corners(+ [*anchors, last_point]+ )def add_subpath(self, points):assert(len(points) % 4 == 0)