Skip to content
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

Open
rizwan2000 opened this issue Dec 5, 2023 · 1 comment
Open

Mistake in Quickstart Tutorial #2080

rizwan2000 opened this issue Dec 5, 2023 · 1 comment

Comments

@rizwan2000
Copy link

https://docs.manim.community/en/stable/tutorials/quickstart.html
image
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.

@behackl
Copy link

behackl commented Dec 6, 2023

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants