ManimCommunity / ManimCommunity/manim

Fixed-in-frame mobject is not transforming correctly in 3D scene

Open
#3,252 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

issue:bug
Dominant language
Python
Stars
40.9k
Forks
3.1k
Avg merge
3d 12h
Merged PRs (30d)
25

Description

Here is the code:

```python
class Test(ThreeDScene):
def construct(self):
axes = ThreeDAxes()
self.set_camera_orientation(phi = 75 * DEGREES, theta = 45 * DEGREES)
self.play(Create(axes))
eq1 = MathTex(r'x')
eq1.to_corner(UL)
self.add_fixed_in_frame_mobjects(eq1)
self.play(Create(eq1))
eq2 = MathTex(r'x^2')
eq2.to_corner(UL)
self.play(Transform(eq1, eq2))
```

In my computer, the animation it produced does not transformed formula $x$ into $x^2$. It only shifts the text $x$ downward but does not write the superscript $2$.

https://github.com/ManimCommunity/manim/assets/86477788/df7603bf-d594-404e-9a14-6e6a14bd02a0

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the supplied ThreeDScene example using ThreeDAxes, MathTex, add_fixed_in_frame_mobjects, and Transform. Inspect the fixed-in-frame mobject transformation path and verify that x transforms into x^2, including the superscript, while remaining fixed in the frame.

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
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.