Skip to content

Added 5 different Arrow tip shapes#4744

Open
GoThrones wants to merge 11 commits into
ManimCommunity:mainfrom
GoThrones:arrowtip
Open

Added 5 different Arrow tip shapes#4744
GoThrones wants to merge 11 commits into
ManimCommunity:mainfrom
GoThrones:arrowtip

Conversation

@GoThrones

@GoThrones GoThrones commented May 22, 2026

Copy link
Copy Markdown
Contributor

Overview: What does this pull request change?

This PR adds 5 different arrow tip shapes. This PR also adds deprecation warning for the parameter start_angle wherever it's not utilized in tips.py file.

Motivation and Explanation: Why and how do your changes improve the library?

Curved arrowtips were missing from the available list of arrowtip.

class Myarrow(Scene):
    def construct(self):
        line1 = Arrow(stroke_color = GREEN,tip_shape = CurvedTip1)
        line2 = Arrow(stroke_color = GREEN,tip_shape = CurvedTip2)
        line3 = Arrow(stroke_color = GREEN,tip_shape = CurvedTip3)
        line4 = Arrow(stroke_color = GREEN,tip_shape = TriangleTip1)
        line5 = Arrow(stroke_color = GREEN,tip_shape = TriangleTip2)
        line6 = Arrow()
        
        vg = VGroup(line1, line2, line3, line4, line5, line6).arrange(RIGHT+0.5*DOWN)
        self.add(vg)

White coloured arrow is the default one.
1

Further Information and Comments

Reviewer Checklist

  • The PR title is descriptive enough for the changelog, and the PR is labeled correctly
  • If applicable: newly added non-private functions and classes have a docstring including a short summary and a PARAMETERS section
  • If applicable: newly added functions and classes are tested

@GoThrones GoThrones changed the title Added 4 different Arrow tip shapes Added 5 different Arrow tip shapes May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant