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

Example Gallery Bug when Rendering High Quality #2097

Open
wmstack opened this issue Jan 29, 2024 · 1 comment
Open

Example Gallery Bug when Rendering High Quality #2097

wmstack opened this issue Jan 29, 2024 · 1 comment
Labels

Comments

@wmstack
Copy link

wmstack commented Jan 29, 2024

Describe the bug

For the Gallery Example with https://docs.manim.community/en/stable/examples.html#pointwithtrace

Code:

from manim import *

class PointWithTrace(Scene):
    def construct(self):
        path = VMobject()
        dot = Dot()
        path.set_points_as_corners([dot.get_center(), dot.get_center()])
        def update_path(path):
            previous_path = path.copy()
            previous_path.add_points_as_corners([dot.get_center()])
            path.become(previous_path)
        path.add_updater(update_path)
        self.add(path, dot)
        self.play(Rotating(dot, radians=PI, about_point=RIGHT, run_time=2))
        self.wait()
        self.play(dot.animate.shift(UP))
        self.play(dot.animate.shift(LEFT))
        self.wait()

Wrong display or Error traceback:
image

Additional context

The circular arc is drawn correctly, but once it is done, it deletes the whole arc and continuous as if the path started from the origin completing the drawing. This doesn't happen with low quality, but happens when you use high quality.

@wmstack wmstack added the bug label Jan 29, 2024
@wmstack
Copy link
Author

wmstack commented Jan 29, 2024

Okay deleting the media directory and then re-running fixed the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant