球面的例題
Author: 9901高二忠班余玲婕

X

Y

Z

y

x

z

xy平面

坐標軸

O = (5.052746921558423, 0.8997584783811662)
α = 3.4033920413889427 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 1.3962634015954636 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
X_unit: O + (cos(α), sin(α) * cos(β))
Y_unit: O + (-sin(α), cos(α) * cos(β))
Z_unit: O + (0.0, sin(β))
u = Vector(O, X_unit)
v = Vector(O, Y_unit)
w = Vector(O, Z_unit)
L = 2 (slider from 1 to 10, step 1)
a = Vector(O - L * u, O + L * u)
b = Vector(O - L * v, O + L * v)
c = Vector(O - L * w, O + L * w)
Y_y: O + L * v
X_x: O + L * u
Z_z: O + L * w
多邊形1, d, e, f, g = Polygon(O + L * u + L * v, O - L * u + L * v, O - L * u - L * v, O + L * u - L * v)
i = false
h = true
A: O + u
B: O + 1.0 / 2.0 * u + 1.0 / 2.0 * v + sqrt(2.0) / 2.0 * w
k = Circle(O, 1.0)
C: O + sqrt(3.0) / 2.0 * u + sqrt(3.0) / 6.0 * v + sqrt(6.0) / 6.0 * w
j = Segment(B, A)
M = Midpoint(B, A)
p = CircumcircleArc(B, C, A)
l = Segment(O, C)
D2 = 0
D1 = 0
n = 2 (slider from 0 to 3, step 1)
m = CurveCartesian(x(O + cos(t) * u + sin(t) * v), y(O + cos(t) * u + sin(t) * v), t, 0.0, 6.283185307179586)