On this page

Sphere

from noon import Sphere

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 sphere with the pinned Manim azimuth/polar mapping.

Sphere.__init__

Sphere.__init__(self, center=(0, 0, 0), radius=1, resolution=(24, 12), u_range=(0, 2 * math.pi), v_range=(0, math.pi), **kwargs)
ParameterKindAnnotationDefault
selfpositional or keywordNot annotatedNo default
centerpositional or keywordNot annotated(0, 0, 0)
radiuspositional or keywordNot annotated1
resolutionpositional or keywordNot annotated(24, 12)
u_rangepositional or keywordNot annotated(0, 2 * math.pi)
v_rangepositional or keywordNot annotated(0, math.pi)
kwargs**kwargsNot annotatedNo default

Return annotation: Not annotated

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

Source declaration