BracketBetweenPoints¶
Qualified name: manimextra.algebra.BracketBetweenPoints
- class manimextra.algebra.BracketBetweenPoints(point_1=array([-1., 0., 0.]), point_2=array([1., 0., 0.]), direction=array([0., 0., 0.]), **kwargs)¶
Bases:
BracketClass that creates a bracket between two points.
- Parameters:
point_1 (Point3DLike, optional) – The first point, by default ORIGIN
point_2 (Point3DLike, optional) – The second point, by default ORIGIN
direction (Point3DLike, optional) – The direction of the bracket, by default ORIGIN
Examples
Example: BracketBetweenPointsExample ¶
from manim import * from manimextra import * class BracketBetweenPointsExample(Scene): def construct(self): A = Dot(LEFT + DOWN) B = Dot(RIGHT + UP) bracket = BracketBetweenPoints(A, B, buff=0.1) self.add(A, B, bracket)
Methods
Attributes
animateUsed to animate the application of any method of
self.animation_overridescolordepthThe depth of the mobject.
fill_colorIf there are multiple colors (for gradient) this returns the first one
heightThe height of the mobject.
n_points_per_curvesheen_factorstroke_colorwidthThe width of the mobject.
- _original__init__(point_1=array([-1., 0., 0.]), point_2=array([1., 0., 0.]), direction=array([0., 0., 0.]), **kwargs)¶
Initialize self. See help(type(self)) for accurate signature.