ManimExtra - Addition to the standard set function in ManimCE
ManimExtra provides an advanced feature set for ManimCE. The library makes it easy to work with geometry by adding many classic designs, such as a bisector or an inscribed circle. There are also many objects that'll simplify the work with algebra by adding systems of equations and a trigonometric circle.
Installing the library is straightforward. If there were no problems with the installation of ManimCE, then there'll be no problems here. On Windows, you need to write the command
pip install manimextra
And on Linux/MacOS
pip3 install manimextra
Below are some complex usage examples combining several objects from ManimExtra.
from manim import *
from manimextra import *
class FeuerbachTheoremScene(Scene):
def construct(self):
A = Dot(2 * DOWN + 4 * LEFT).set_z_index(1)
B = Dot(2 * UP + 2.5 * LEFT).set_z_index(1)
C = Dot(2 * DOWN + 4 * RIGHT).set_z_index(1)
AB = Line(A, B, color=BLUE)
BC = Line(B, C, color=BLUE)
CA = Line(C, A, color=BLUE)
incircle = Incircle(A, B, C, color=YELLOW)
nine_point_circle = NinePointCircle(A, B, C, color=GREEN)
feuerbach = FeuerbachPoint(A, B, C)
self.add(A, B, C, AB, BC, CA, incircle, nine_point_circle, feuerbach)from manim import *
from manimextra import *
class SystemOfEquationsExample(Scene):
def construct(self):
system1 = SystemOfEquations(
MathTex("x + y = 2"),
MathTex("x - y = 0")
)
system2 = SystemOfEquations(
MathTex("x = 1"),
MathTex("y = 1")
)
self.play(FadeIn(system1))
self.wait()
self.play(TransformSystem(system1, system2))
self.wait()from manim import *
from manimextra import *
class PieChartExample(Scene):
def construct(self):
pie_chart = PieChart(
data={"First": 10, "Second": 20, "Third": 30},
label_buff=0.7,
inner_radius=1,
outer_radius=2
)
self.add(pie_chart)Full documentation with API reference and more examples is available at:



