Sphere

Sphere preview
remixableManimCE3DThreeDSceneturntable

manim/sphere.py

"""Sphere: a shaded ball with a lat/lon mesh and one marked point.

Render (the driver does this for every palette; these are for eyeballing):
    P=/opt/homebrew/opt/python@3.11/bin/python3.11
    ASSET_MODE=still  $P -m manim -s -t -r 1600,1600 manim/sphere.py Sphere
    ASSET_MODE=motion $P -m manim -qh   -r 1080,1080 manim/sphere.py SphereLoop
"""

import numpy as np
from manim import DEGREES, Dot3D, Line, Text, ThreeDAxes, VGroup
from manim import Sphere as SphereMobject

from lib.asset import FONT, OrbitAsset
from lib.palette import opacity, role
from lib.solid import axis_stubs, contact_shadow, facing_tint, front_facing

The full Manim source and the rendered video come with a plan.