/
IT-Legion
/
animations_in_python
Обзор
Документация
Войти
/
IT-Legion
/
animations_in_python
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
master
math.py
11 строк
415 B
IT-Legion
create: math.py
25 мар 2026, 20:15
Верифицирован
25 мар 2026, 20:15
39b5355
Код
Авторство
О чём код?
from manim import * from moviepy.editor import * class Example(MovingCameraScene): def construct(self): equation = MathTex("8x-15,3", "6x-3,3") self.play(Write(equation)) self.play(self.camera.frame.animate.move_to(equation[0].set(width = equation[0].width * 2))) self.wait(0.5) self.play(self.camera.frame.animate.move_to(equation[2].set(width=equation[2].width*2)))