manim.mobject.geometry

Mobjects that are simple geometric shapes.

Examples

../_images/UsefulAnnotations-1.png
UsefulAnnotations
class UsefulAnnotations(Scene):
    def construct(self):
        m0 = SmallDot()
        m1 = AnnotationDot()
        m2 = LabeledDot("ii")
        m3 = LabeledDot(MathTex(r"\alpha").set_color(ORANGE))
        m4 = CurvedArrow(ORIGIN, 2*LEFT)
        m5 = CurvedDoubleArrow(ORIGIN, 2*RIGHT)

        self.add(m0, m1, m2, m3, m4, m5)
        for i, mobj in enumerate(self.mobjects):
            mobj.shift(DOWN * (i-3))

Classes

AnnotationDot

A dot with bigger radius and bold stroke to annotate scenes.

AnnularSector

Annulus

Arc

A circular arc.

ArcBetweenPoints

Inherits from Arc and additionally takes 2 points between which the arc is spanned.

ArcPolygon

A generalized polygon allowing for points to be connected with arcs.

ArcPolygonFromArcs

A generalized polygon allowing for points to be connected with arcs.

Arrow

ArrowCircleFilledTip

Circular arrow tip with filled tip.

ArrowCircleTip

Circular arrow tip.

ArrowSquareFilledTip

Square arrow tip with filled tip.

ArrowSquareTip

Square arrow tip.

ArrowTip

Base class for arrow tips.

ArrowTriangleFilledTip

Triangular arrow tip with filled tip.

ArrowTriangleTip

Triangular arrow tip.

Circle

CubicBezier

CurvedArrow

CurvedDoubleArrow

Cutout

A shape with smaller cutouts.

DashedLine

A dashed Line.

Dot

DoubleArrow

Elbow

Ellipse

LabeledDot

A Dot containing a label in its center.

Line

Polygon

Rectangle

RegularPolygon

RoundedRectangle

Sector

SmallDot

A dot with small radius

Square

TangentLine

TipableVMobject

Meant for shared functionality between Arc and Line.

Triangle

Vector