On this page

Torus

from noon import Torus

Source-derived class. Host availability is not inferred from this listing. See reference scope.

Bases: Surface. Declared members follow; inherited and dynamically attached members are not expanded.

Surface-sampled torus using Manim's pinned orientation and defaults.

Torus.__init__

Torus.__init__(self, major_radius=3, minor_radius=1, u_range=(0, 2 * math.pi), v_range=(0, 2 * math.pi), resolution=(24, 24), **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
major_radiuspositional or keywordNot annotated3
minor_radiuspositional or keywordNot annotated1
u_rangepositional or keywordNot annotated(0, 2 * math.pi)
v_rangepositional or keywordNot annotated(0, 2 * math.pi)
resolutionpositional or keywordNot annotated(24, 24)
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

No docstring declared here. Consult the source and host reference.

Source declaration