ManimCommunity / ManimCommunity/manim
Dot's center doesn't update after Rotate when using OpenGL renderer
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
Description of bug / unexpected behavior
My code works just fine when using the default renderer, but when I change the renderer to OpenGL I encountered that a Dot object's center did not update after a Rotate operation about a point.
Expected behavior
I expected the Dot object to be updated after a Rotate operation about a point.
How to reproduce the issue
Code for reproducing the problem
from manim import *
class SquareToCircle(Scene):
def construct(self):
dot = Dot()
self.add(dot)
for i in range(5):
self.play(Rotate(dot, 180 * DEGREES, about_point=dot.get_center() + RIGHT))
Additional media files
Images/GIFs
Logs
Terminal output
PASTE HERE OR PROVIDE LINK TO https://pastebin.com/ OR SIMILAR
System specifications
System Details
- OS (with version, e.g Windows 10 v2004 or macOS 10.15 (Catalina)):
- RAM:
- Python version (
python/py/python3 --version): - Installed modules (provide output from
pip list):
PASTE HERE
LaTeX details
- LaTeX distribution (e.g. TeX Live 2020):
- Installed LaTeX packages:
FFMPEG
Output of ffmpeg -version:
PASTE HERE
Additional comments
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the provided SquareToCircle reproduction with the OpenGL renderer and compare the Dot center before and after Rotate about a point. Trace the Dot and Rotate entry points through the OpenGL path; done means the Dot center updates after each rotation as it does with the default renderer.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100