remove point at the end
This commit is contained in:
parent
e74a341468
commit
1fc5352b0f
5
main.py
5
main.py
@ -42,12 +42,13 @@ class snowflake(Scene):
|
|||||||
segment = VMobject(stroke_width=1)
|
segment = VMobject(stroke_width=1)
|
||||||
segment.set_points_as_corners(points)
|
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.play(Create(segment))
|
||||||
self.wait(1)
|
self.wait(1)
|
||||||
|
|
||||||
vg = VGroup()
|
|
||||||
self.add(vg)
|
self.add(vg)
|
||||||
for i in range(4):
|
for i in range(4):
|
||||||
points = SegmentedLine(points)
|
points = SegmentedLine(points)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user