- class Dodecahedron(edge_length=1, **kwargs)[source]#
A dodecahedron, one of the five platonic solids. It has 12 faces, 30 edges and 20 vertices.
edge_length (float) – The length of an edge between any two vertices.
Example: DodecahedronScene ¶
from manim import * class DodecahedronScene(ThreeDScene): def construct(self): self.set_camera_orientation(phi=75 * DEGREES, theta=30 * DEGREES) obj = Dodecahedron() self.add(obj)
Used to animate the application of any method of
The depth of the mobject.
If there are multiple colors (for gradient) this returns the first one
The height of the mobject.
The width of the mobject.