LaggedStart not working
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
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
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
查看 manim/animation/animation.py 中的 LaggedStart 類別,了解它如何處理動畫。此錯誤表示 ShowCreation 物件被錯誤地處理。檢查 __len__ 方法或動畫的傳遞方式。執行提供的程式碼片段以重現該錯誤,然後檢查 AnimationGroup 和 LaggedStart 的建構函式。
由索引模型根據 Issue 內容生成。
評估
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100