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

Rotating a Circle about UP axis breaks the rendering #2130

Open
Batres3 opened this issue May 2, 2024 · 2 comments
Open

Rotating a Circle about UP axis breaks the rendering #2130

Batres3 opened this issue May 2, 2024 · 2 comments
Labels

Comments

@Batres3
Copy link

Batres3 commented May 2, 2024

Describe the bug

When a circle is rotated about the UP axis it breaks the rendering, it seems to end up displaying the triangles where the line is usually rendered, but it colors the whole triangle instead of just the circle (this happens at around -45 degrees)
Code:

from manimlib import *

class Test(Scene):
    def construct(self):
        circle = Circle()
        self.add(circle)
        self.play(Rotate(circle, -45*DEGREES, UP))
        self.wait(5)

test = Test()
test.construct()

Wrong display or Error traceback:

image
Ignore the grey tint.

Additional context

@Batres3 Batres3 added the bug label May 2, 2024
@sundebug
Copy link

sundebug commented May 6, 2024

Yes, I have the same issue.

@TSxSAHIL
Copy link

Hello @Batres3,

I have executed the same code on my system without encountering any errors. This discrepancy might be due to the difference in the libraries we are using—you're using manimlib, whereas I am using manim.

from manim import *

class Test(Scene):
def construct(self):
circle = Circle()
self.add(circle)
self.play(Rotate(circle, -45*DEGREES, DOWN))
self.wait(5)

test = Test()
test.construct()
test.render(preview=True)

If you continue to experience issues, please let me know in this thread so we can troubleshoot further.

Best regards,
Sahil

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

3 participants