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
283 B
Raw Blame
# Source: manim/mobject/three_d/polyhedra.py
import manimgx as m


class DodecahedronScene(m.ThreeDScene):
    def construct(self):
        self.set_camera_orientation(phi=75 * m.DEGREES, theta=30 * m.DEGREES)
        obj = m.Dodecahedron()
        self.add(obj)
        self.wait()