resize dots

This commit is contained in:
Debucquoy Anthony 2025-03-07 13:31:14 +01:00
parent 3dc3a61896
commit 669da197fe
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -49,10 +49,10 @@ class snowflake(Scene):
vg = VGroup()
self.add(vg)
for i in range(3):
for i in range(5):
points = SegmentedLine(points)
new_vg = VGroup(*[Dot(p) for p in points])
new_vg = VGroup(*[Dot(p, radius=0.1/(i+1)) for p in points])
self.play(Create(new_vg))
self.play(segment.animate.set_points_as_corners(points))