Author: 藍邦偉　老師

單位向量

座標軸

x

y

z

$ O $

b = 3.3 (slider from -5 to 5, step 0.1)
Q_2: 0.3 * Corner[2] + 0.7 * Corner[1]
α = 0 rad (slider from 0 to 6.283185307179586, step 15*°)
O: 0.5 * (Q_2 + Corner[3])
β = 0 rad (slider from 0 to 6.283185307179586, step 0.1*°)
Y_{unit}: O + (-1 * sin(α), cos(α) * cos(β))
v = Vector(O, Y_{unit})
Z_{unit}: O + (0, sin(β))
w = Vector(O, Z_{unit})
X_{unit}: O + (cos(α), sin(α) * cos(β))
u = Vector(O, X_{unit})
L = 4 (slider from 1 to 10, step 1)
yy = Vector(O - L * v, O + L * v)
zz = Vector(O - L * w, O + L * w)
xx = Vector(O - L * u, O + L * u)
c = false
d = true
Q_3: (x(Q_2), y(Corner[3]))
g = Segment(Q_2, Q_3)
poly1, h, q_1, q_4, i = Polygon(Corner[1], Q_2, Q_3, Corner[4])
γ = 0 rad (slider from 0 to 180*°, step 0.1*°)
A_1: O + b * v
a = 3.2 (slider from -5 to 5, step 0.1)
A_0: O + a * u + b * v
B_1: A_1 + a * cos(γ) * u + a * sin(γ) * w
e = Segment(A_1, B_1)
Mirror, f, j, k, l = Polygon(A_1, O - b * v, O - b * v + a * w, O + a * w + b * v)
m = Segment(A_1, A_0)
C_1: O + B_1 - A_1
u_{x'} = Vector(O - (4, 0), O + (4, 0))
u_{y'} = Vector(O - (0, 4), O + (0, 4))
n = Segment(O - L * v, O + L * v)