Unzoom in one swoop

This commit is contained in:
Debucquoy Anthony 2025-03-10 15:13:08 +01:00
parent 18468933ca
commit e74a341468
Signed by: tonitch
GPG Key ID: A78D6421F083D42E

View File

@ -71,10 +71,8 @@ class snowflake(Scene):
self.play(Rotate(segment2, 2 * PI / 3, axis=[0,0,1], about_point=[0, mid, 0]),
Rotate(segment3, -2 * PI / 3, axis=[0,0,1], about_point=[0, mid, 0]))
# self.play(segs.animate.center())
# self.play(segs.animate.scale(0.5))
self.play(segs.animate.scale(0.5).center())
lines = [
Line(segment.get_all_points()[0], segment.get_all_points()[-1], color=RED),
Line(segment2.get_all_points()[0], segment2.get_all_points()[-1], color=RED),