The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.
# Source: manim/animation/numbers.py import manimgx as m class ChangingDecimalExample(m.Scene): def construct(self): number = m.DecimalNumber(0) self.add(number) self.play(m.ChangingDecimal(number, lambda a: 5 * a, run_time=3)) self.wait()