UpdatersExample negative width error in example scenes
未关闭
- 主要语言
- Python
- 星标
- 93.8k
- 派生
- 7.7k
- PR 合并指标
- PR 指标待抓取
描述
### Describe the error
In the UpdatersExample in the [example scenes](https://3b1b.github.io/manim/getting_started/example_scenes.html), the line:
`lambda m: m.set_width(w0 * math.cos(self.time - now))` results in an error. In order for this to match the animation in the video it should read:
`lambda m: m.set_width(w0 * (math.cos(self.time - now - PI/2)+1))`
### Code and Error
**Code**:
UpdatersExample
**Error**:
manim\manimlib\mobject\mobject.py:903: RuntimeWarning: overflow encountered in double_scalars
self.scale(length / old_length, **kwargs)
### Environment
**OS System**: Windows 10
**manim version**: master manimGL v1.6.1
**python version**: Python 3.9.6
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。