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
314 B
Raw Blame
# Source: manim/mobject/graphing/coordinate_systems.py
import manimgx as m


class ImplicitExample(m.Scene):
    def construct(self):
        ax = m.Axes()
        a = ax.plot_implicit_curve(
            lambda x, y: y * (x - y) ** 2 - 4 * x - 8, color=m.BLUE
        )
        self.add(ax, a)
        self.wait()