[Manim] add_brackets

A Ydobon
1 min readAug 2, 2020

--

Manim is a powerful math animation in python developed by 3blue1brown. If you don’t know how to use it, install it first.

The method add_brackets() is a method in the Matrix class, which add brackets around the matrix. The original version is

There are some pre-defined constants, and it adds the brackets on the screen.

My modified code is

It takes mobj as input and returns VGroup to the caller, so you have to add the result to the screen by yourself.

Now you can wrap any mobject .

--

--

A Ydobon
A Ydobon

No responses yet