The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.
# Source: manim/mobject/vector_field.py import manimgx as m class BasicUsage(m.Scene): def construct(self): func = lambda pos: ((pos[0] * m.UR + pos[1] * m.LEFT) - pos) / 3 self.add(m.ArrowVectorField(func)) self.wait()