Animating Circle.set_fill results in a weird pattern.
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
Animating Circle.set_fill results in a weird pattern as follows:
https://user-images.githubusercontent.com/41336229/125058195-ac5fb800-e0c7-11eb-9a75-3f5ee05589de.mp4
Code:
```python
from manimlib import *
class Test(Scene):
def construct(self):
circle = Circle(color=BLUE).set_fill(BLUE, opacity=0.5)
self.play(ShowCreation(circle))
self.wait()
```
Also, how do I animate the fill smoothly?
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Look at the Circle class in manimlib/mobject/geometry.py and the set_fill method. Investigate how fill animations are handled in the animation system, possibly in manimlib/animation/creation.py or transformation.py. Run the provided test code to reproduce the pattern, then examine the rendering pipeline to see how fill properties are interpolated during animation.
由索引模型根據 Issue 內容生成。
評估
- 領域
- computer-graphics
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 40/100