雨傘
Author: 劉威廷

雨傘

單位向量

單位點

座標軸

xy平面

x

y

z

α = 3.434807967924841 rad (slider from 0*° to 360*°, step 0.01*°)
β = 5.1487212933832724 rad (slider from 0 to 6.283185307179586, step 0.017453292519943295)
L = 13 (slider from 1 to 13, step 1)
O = (41.2100228401048, 15.81480401328993)
X_{unit}: O + (cos(α), sin(α) * cos(β))
Y_{unit}: O + (-sin(α), cos(α) * cos(β))
Z_{unit}: O + (0, -sin(β))
u = Vector(O, X_{unit})
v = Vector(O, Y_{unit})
w = Vector(O, Z_{unit})
x_{Axis} = Vector(O - L * u, O + L * u)
y_{Axis} = Vector(O - L * v, O + L * v)
z_{Axis} = Vector(O - L * w, 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)
h = false
i = false
j = false
k = false
list1 = Sequence(O + 10 * cos(2 * k * π / 12) * u + 10 * sin(2 * k * π / 12) * v, k, 1, 20)
B: O + 7 * w
C = Point(list1)
D = Point(list1)
E = Point(list1)
F = Point(list1)
poly3, f_1, b_3, e_2 = Polygon(B, E, F)
G = Point(x_{Axis})
poly4, g_1, b_4, f_2 = Polygon(B, F, G)
H = Point(list1)
poly5, h_1, b_5, g_3 = Polygon(B, G, H)
I = Point(list1)
poly6, i_1, b_6, h_2 = Polygon(B, H, I)
J = Point(list1)
poly7, j_1, b_7, i_2 = Polygon(B, I, J)
K = Point(list1)
poly8, k_1, b_8, j_2 = Polygon(B, J, K)
M = Point(list1)
poly9, m, b_9, k_2 = Polygon(B, K, M)
r = 10
N = Point(x_{Axis})
poly1, m_1, b_1, n = Polygon(B, N, M)
poly2, c, b_2, n_1 = Polygon(B, N, C)
poly10, d_1, b_{10}, c_1 = Polygon(B, C, D)
P = Point(list1)
poly11, p, b_{11}, d_2 = Polygon(B, D, P)
poly12, e_1, b_{12}, p_1 = Polygon(B, P, E)
A_1: O + 8 * w
A_2: O - 8 * w
l = Segment(A_1, A_2)
B_1: A_2 + 2 * v
B_2: A_2 + v - w
A = Midpoint(A_2, B_1)
a = CurveCartesian(x(A + cos(t) * v + sin(t) * w), y(A + cos(t) * v + sin(t) * w), t, 3.141592653589793, 6.28319)