LaggedStart not working
- 主要語言
- Python
- 星號
- 93.8k
- 分支
- 7.7k
- PR 合併指標
- PR 指標待擷取
描述
Im trying to use the LaggedStart() animation but i keep getting errors
Error message is: "object of type 'ShowCreation' has no len()"
`self.play(
LaggedStart(*[
ShowCreation(obj1, run_time=0.5),
ShowCreation(obj2, run_time=0.5),
Write(obj2, run_time=0.5)]
)
)`
The animations on their own work but i want then to start slighty after one another.
ive also tried without the array and also AnimationGroup() with lag_ratio=0.5 and the animations worked but they started at the exact same time
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Look at the LaggedStart class in manim/animation/animation.py to understand how it processes animations. The error suggests ShowCreation objects are being treated incorrectly. Check the __len__ method or how animations are passed. Run the provided code snippet to reproduce the error, then examine the AnimationGroup and LaggedStart constructors.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- python
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100