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

Animations between loops don't show without pauses #14

Closed
jacquesrabie opened this issue Jul 3, 2021 · 1 comment
Closed

Animations between loops don't show without pauses #14

jacquesrabie opened this issue Jul 3, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@jacquesrabie
Copy link

jacquesrabie commented Jul 3, 2021

Take for example the following, where I commented out self.pause() between the two loops:

from manim import *
from manim_presentation import Slide

class Example(Slide):
    def construct(self):
        circle = Circle(radius=3, color=BLUE)
        dot = Dot()

        self.play(GrowFromCenter(circle))
        self.pause()

        self.start_loop()
        self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear)
        self.end_loop()

        self.play(dot.animate.move_to(ORIGIN))
        #self.pause()

        self.play(dot.animate.move_to(RIGHT*3))
        #self.pause()
        
        self.start_loop()
        self.play(MoveAlongPath(dot, circle), run_time=2, rate_func=linear)
        self.end_loop()

        self.play(dot.animate.move_to(ORIGIN))

When I run through the presentation, it skips past the animation of the dot moving to and from the origin and continues to the next loop. The video files for these animations are still in \manim-presentation\presentation\files but the presentation skips from Animation: 1 to Animation: 4.

@galatolofederico
Copy link
Owner

That is weird. Tomorrow i will take a look at it. In the meantime maybe @glatteis can help you

@galatolofederico galatolofederico added the bug Something isn't working label Jul 9, 2021
@galatolofederico galatolofederico closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants