3b1b / 3b1b/manim

CurvedArrow Interface

オープン
#371 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.9k
フォーク
7.7k
平均マージ
2日 13時間
マージ済み PR(30日)
4

説明

The interface of class `CurvedArrow` in [geometry.py](https://github.com/3b1b/manim/blob/465951ab88211e4a07e1a17b7ad370cb662f7d06/mobject/geometry.py#L141) is not trivial to understand.

An example is in the [tutorial](https://talkingphysics.wordpress.com/2018/06/12/more-shapes-manim-series-part-3/), basically:
```python3
from big_ol_pile_of_manim_imports import *

class MoreShapes(Scene):
# A few more simple shapes

def construct(self):
pointer = CurvedArrow(start_point=5 * RIGHT, end_point=2 * RIGHT, color=MAROON_C)

self.add(pointer)
```

The output animation will have a curved arrow pointing from the `end_point` to the `start_point`. But intuitively, it should point from the `start_point` to the `end_point`. (The link above to the tutorial have an embedded video showing the curve.)

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。