-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mistake in Quickstart Tutorial #2080
Comments
3 tasks
This was meant for ManimCommunity/manim, and should be closed here. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: