3b1b / 3b1b/manim

The stroke is not working for any geometry!!!

未關閉
#1,456 10 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
93.9k
分支
7.7k
平均合併
2 天 13 小時
30 天內合併 PR
4

描述

I ran the following code and it does not drawing the stroke line:

```
from manimlib import *
class shape(Scene):
def construct(self):
circle=Circle()
self.add(circle)
```

would be glad to have your comments on this issue. I have also tried the following code:

```
from manimlib import *

class SquareToCircle(Scene):
def construct(self):
circle = Circle()
circle.set_fill(BLUE, opacity=0.5)
circle.set_stroke(BLUE_E, width=4)

self.add(circle)
```

and the stroke is not acting.

_Originally posted by @Shafagh777 in https://github.com/3b1b/manim/discussions/1455_

貢獻指南

這個儲存庫沒有索引到貢獻指南

研究方向

查看 manimlib/mobject/geometry.py 中的 Circle class 以了解 stroke 渲染如何運作。檢查 manimlib/scene/scene.py 中的 rendering pipeline 和 stroke 的 config 設定。執行提供的程式碼範例來重現問題,然後追蹤 stroke 的應用與繪製呼叫。

由索引模型根據 Issue 內容生成。

評估

領域
computer-graphics
Issue 類型
缺陷
難度
3/5
預估耗時
1-2 天
活躍度
停滯
描述清晰度
基本清楚
新手友好度
45/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。