Utilities¶
- manim_extensions.compass.get_arc(niddle_pos, pen_pos, angle, color=ManimColor('#F7D96F'), **kwargs)[source]¶
Construct an arc from its centre and starting point.
- Parameters:
niddle_pos (
ndarray) – centre of the arcpen_pos (
ndarray) – starting point of the arcangle (
float) – central angle of the arccolor – colour of the arc
kwargs – other keyword arguments for the arc
Returns – The constructed Arc instance
manim: (..) –
GetArcDocExample: :save_last_frame:
from manim import * from manim_extensions.compass import get_arc
- class GetArcDocExample(Scene):
- def construct(self):
arc = get_arc(ORIGIN, RIGHT, PI / 2) self.add(arc)
- Return type: