motion-canvas/motion-canvas

Arrows in the middle of the line

开放

#995 创建于 2024年3月15日

 (1 条评论) (0 个反应) (1 位负责人)TypeScript (560 个派生)batch import
a-2db-enhancementc-acceptedgood first issue

仓库指标

星标
 (14,327 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南