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
334 B
Raw Blame
# Source: manim/constants.py
import manimgx as m


class FontSlantConstants(m.Scene):
    def construct(self):
        slants = [m.NORMAL, m.ITALIC, m.OBLIQUE]
        labels = m.VGroup(*[m.Text(s, slant=s, font_size=18) for s in slants])
        labels.arrange(m.DOWN, buff=m.SMALL_BUFF)
        self.add(labels)
        self.wait()