arc#
Mobjects that are curved.
Examples
Example: UsefulAnnotations ¶
from manim import *
class UsefulAnnotations(Scene):
def construct(self):
m0 = Dot()
m1 = AnnotationDot()
m2 = LabeledDot("ii")
m3 = LabeledDot(MathTex(r"\alpha").set_color(ORANGE))
m4 = CurvedArrow(2*LEFT, 2*RIGHT, radius= -5)
m5 = CurvedArrow(2*LEFT, 2*RIGHT, radius= 8)
m6 = CurvedDoubleArrow(ORIGIN, 2*RIGHT)
self.add(m0, m1, m2, m3, m4, m5, m6)
for i, mobj in enumerate(self.mobjects):
mobj.shift(DOWN * (i-3))
Classes
A dot with bigger radius and bold stroke to annotate scenes. |
|
|
|
Region between two concentric |
|
A circular arc. |
|
Inherits from Arc and additionally takes 2 points between which the arc is spanned. |
|
A generalized polygon allowing for points to be connected with arcs. |
|
A generalized polygon allowing for points to be connected with arcs. |
|
A circle. |
|
Example |
|
A circle with a very small radius. |
|
A circular shape; oval, circle. |
|
A |
|
Examples |
|
Meant for shared functionality between Arc and Line. |