AnimationGroup height visual issue
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
I am trying to create a cool effect where the text is getting written and zoom in at the same time.
I tried to use the `AnimationGroup` object for that but this is how it renders :
https://user-images.githubusercontent.com/2827383/115975871-e9a4b700-a568-11eb-8194-fed4927fcfd2.mp4
First, the letters appear really distant from each other, small and also the height animation is being cut off, the letters come back to the original size.
The code is very simple :
```python
class KoreanWord(Scene):
def construct(self):
t = Text('실망')
group = []
group.append(Write(t))
group.append(t.animate.set_height(2))
self.play(AnimationGroup(*group, run_time=10))
```
Am I doing something wrong, or is it an issue?
Thanks in advance for your help.
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
The issue is in the AnimationGroup behavior when combining Write and scaling animations. Look at the AnimationGroup class in manim/animation/composition.py and the Write animation in manim/animation/creation.py. Test the provided code snippet to reproduce the visual bug, then examine how AnimationGroup handles concurrent animations affecting the same object's properties.
由索引模型根據 Issue 內容生成。
評估
- 領域
- computer-graphics
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100