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
230 B
Raw Blame
# Source: manim/mobject/geometry/polygram.py
import manimgx as m


class RegularPolygramExample(m.Scene):
    def construct(self):
        pentagram = m.RegularPolygram(5, radius=2)
        self.add(pentagram)
        self.wait()