You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
https://docs.manim.community/en/stable/tutorials/quickstart.html
The explanation says that the rotation is 360 degrees but as can be seen from the corresponding code below, the rotation is actually 180 degrees.
class DifferentRotations(Scene):
def construct(self):
left_square = Square(color=BLUE, fill_opacity=0.7).shift(2 * LEFT)
right_square = Square(color=GREEN, fill_opacity=0.7).shift(2 * RIGHT)
self.play(
left_square.animate.rotate(PI), Rotate(right_square, angle=PI), run_time=2
)
self.wait()
The interpolation of a rotation of 360 degrees results in a complete lack of any animation(can be observed by changing rotation to 2*PI for left_square.
The text was updated successfully, but these errors were encountered:
https://docs.manim.community/en/stable/tutorials/quickstart.html
The explanation says that the rotation is 360 degrees but as can be seen from the corresponding code below, the rotation is actually 180 degrees.
class DifferentRotations(Scene):
def construct(self):
left_square = Square(color=BLUE, fill_opacity=0.7).shift(2 * LEFT)
right_square = Square(color=GREEN, fill_opacity=0.7).shift(2 * RIGHT)
self.play(
left_square.animate.rotate(PI), Rotate(right_square, angle=PI), run_time=2
)
self.wait()
The interpolation of a rotation of 360 degrees results in a complete lack of any animation(can be observed by changing rotation to 2*PI for left_square.
The text was updated successfully, but these errors were encountered: