From 1fc5352b0f29f6d90090e0f92e343e350849b373 Mon Sep 17 00:00:00 2001 From: Anthony Debucquoy Date: Tue, 25 Mar 2025 21:00:31 +0100 Subject: [PATCH] remove point at the end --- main.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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)