橢圓與圓
Author: 藍邦偉  老師

x

y

z

單位向量

座標軸

顯示橢圓

顯示硬幣

橢圓與圓

$ 視線 $

$視覺效果  $

法線

$ L$

α = 4.71238898038469 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
β = 1.5707963267948966 rad (slider from 90*° to 175*°, step 0.1*°)
O = (0, 0)
X_{unit}: O + (cos(α), sin(α) * cos(β))
Y_{unit}: O + (-1 * sin(α), cos(α) * cos(β))
Z_{unit}: O + (0, sin(β))
u = Vector(O, X_{unit})
v = Vector(O, Y_{unit})
w = Vector(O, Z_{unit})
L = 7 (slider from 1 to 10, step 1)
a = Vector(O - L * v, O + L * v)
b = Vector(O - L * w, O + L * w)
z = Vector(O - L * u, O + L * u)
A_1: O + L * u
B_1: O + L * v
Z: O + L * w
c = false
d = false
Q_2: 0.2 * Corner[2] + 0.8 * Corner[1]
Q_3: (x(Q_2), y(Corner[3]))
多邊形1, e, q_2, q_3, f = Polygon(Corner[1], Q_2, Q_3, Corner[4])
g = Segment(Q_2, Q_3)
P_3: O + 2 * v + 2 * w
P_4: O - 2 * v + 2 * w
P_1: O - 2 * v - 2 * w
P_2: O + 2 * v - 2 * w
Γ: (x - x(O))^(2) / 4 + (y - y(O))^(2) / (2 * sin(β))^(2) = 1
h = false
i = true
O_1: O - (0, 8.1)
O_2: O - (0, 5)
C_1: O_2 + (-3, -0.8)
A = Mirror(C_1, O_2)
C_2: O_2 + (1.2, -0.8)
B = Mirror(C_2, O_2)
poly1, b_1, c_1, c_2, a_1 = Polygon(B, C_1, C_2, A)
O_3: O_2 + (0, 2)
j = Segment(O_3, O_2)
Γ_1: (x - x(O_1))^(2) + (y - y(O_1))^(2) / sin(β)^(2) = 1
Γ_2: (x - x(O_2))^(2) / 1.2^(2) + (y - y(O_2))^(2) / 0.6^(2) = 1
C = Rotate(O_3, -(β - 90°), O_2)
k = Segment(C, O_2)
text3: "視角" + (β - 90°)
γ = Angle(Vector[O_2, C], Vector[O_2, O_3])