manim.mobject.geometry.Arc

class Arc(radius=1.0, start_angle=0, angle=1.5707963267948966, num_components=9, anchors_span_full_range=True, arc_center=array([0.0, 0.0, 0.0]), **kwargs)[source]

Bases: manim.mobject.geometry.TipableVMobject

A circular arc.

Methods

generate_points

Initializes points and therefore the shape.

get_arc_center

Looks at the normals to the first two anchors, and finds their intersection points

move_arc_center_to

set_pre_positioned_points

stop_angle

Attributes

animate

Used to animate the application of a method.

depth

The depth of the mobject.

height

The height of the mobject.

width

The width of the mobject.

Parameters

radius (float) –

generate_points()[source]

Initializes points and therefore the shape.

Gets called upon creation. This is an empty method that can be implemented by subclasses.

get_arc_center(warning=True)[source]

Looks at the normals to the first two anchors, and finds their intersection points