Unzoom in one swoop
This commit is contained in:
parent
18468933ca
commit
e74a341468
4
main.py
4
main.py
@ -71,10 +71,8 @@ class snowflake(Scene):
|
|||||||
|
|
||||||
self.play(Rotate(segment2, 2 * PI / 3, axis=[0,0,1], about_point=[0, mid, 0]),
|
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]))
|
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())
|
self.play(segs.animate.scale(0.5).center())
|
||||||
|
|
||||||
lines = [
|
lines = [
|
||||||
Line(segment.get_all_points()[0], segment.get_all_points()[-1], color=RED),
|
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),
|
Line(segment2.get_all_points()[0], segment2.get_all_points()[-1], color=RED),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user