If you use Manim to directly create this kind of animated video, it does not support Chinese and requires some modifications. The effect is as shown in the figure.
However, the modified plans were too confusing. After continuous research, I found a relatively simple and practical method.
Article directory
Source file modification
Use everuthing to find ctex_template.tex
the file.
The path I have here D:\MyTools\anaconda3\Lib\site-packages\manimlib\tex_templates
must be tex_templates
under.
Open tex_templates
the file and add the following code.
\usepackage{xeCJK}
\setCJKmainfont{Microsoft JhengHei}
\usepackage{xeCJK}
\setCJKmainfont{SimHei}
The result is as shown in the figure. setCJKmainfont
The font files that can be used are set in it. This needs to be found in your system, then save and close.