Skip to content

The animation engine for agents: blazingly fast math and 3D videos with Manim's Python API, on a Rust GPU core.

Python
325 B
Raw Blame
# Source: manim/mobject/graphing/  (Prompt 11 port)
import manimgx as m


class ComplexPlaneNumberKwargExample(m.Scene):
    def construct(self):
        cp = m.ComplexPlane()
        pt = cp.number_to_point(number=2 + 1j)
        also = cp.n2p(number=2 + 1j)
        self.add(cp, m.Dot(pt), m.Dot(also))
        self.wait()