motion-canvas/motion-canvas

Arrows in the middle of the line

オープン

#995 opened on 2024/03/15

 (1 件のコメント) (0 件のリアクション) (1 人の担当者)TypeScript (560 件のフォーク)batch import
a-2db-enhancementc-acceptedgood first issue

Repository metrics

Stars
 (14,327 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

Description Since arrow heads don't center arount the end of the line, it's a bit difficult to create an arrow in the middle of the straight line.

Proposed solution Add option to place the arrow in the middle of the line, with orientation based on the tangent of the middle of the length. centerArrow could be the name of the new option.

I didn't try to implement it myself yet but I'm open to.

コントリビューターガイド