DashedVMobject not returning correct output
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
When trying to draw a dashed line with custom length (width), it returns the continous version of the line.
```python
projection_line = DashedVMobject(
Line(point_a, point_b).set_width(100).set_color(YELLOW)
)
```
Also tried:
```python
projection_line = DashedVMobject(
Line(point_a, point_b).set_width(100)
).set_color(YELLOW)
```
And:
```python
projection_line = DashedVMobject(
Line(point_a, point_b)
).set_color(YELLOW).set_width(100)
```

貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
查看 manim/mobject/types/vectorized_mobject.py 中的 DashedVMobject 類。了解它如何建立虛線以及 set_width 與它如何互動。執行提供的程式碼片段來重現此問題,然後追蹤方法呼叫,看看在設定 width 時 dash 生成失敗的位置。
由索引模型根據 Issue 內容生成。
評估
- 領域
- computer-graphics
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100