diff --git a/main.py b/main.py index 91f241a..e78ad6e 100644 --- a/main.py +++ b/main.py @@ -42,12 +42,13 @@ class snowflake(Scene): segment = VMobject(stroke_width=1) segment.set_points_as_corners(points) - self.add(*[Dot(p) for p in points]) + vg = VGroup() + vg.add(*[Dot(p) for p in points]) + self.add(vg) self.play(Create(segment)) self.wait(1) - vg = VGroup() self.add(vg) for i in range(4): points = SegmentedLine(points)