Author: 高一忠 周政賢

O: 1.0 / 2.0 * (Corner[1.0] + Corner[3.0])
c = Circle(O, 1.0 / 2.0 * (y(Corner[3.0]) - y(Corner[2.0])))
A = Point(c)
a = Line(O, A)
B = Intersect(c, a, 2.0)
b = LineBisector(B, O)
C = Intersect(c, b, 2.0)
D = Intersect(c, b, 1.0)
多邊形1, c_1, a_1, d = Polygon(A, D, C)
E, F, G = 工具1(C, A)
H, I, J = 工具1(A, D)
K, L, M = 工具1(D, C)
多邊形2, e, g, l = Polygon(G, L, E)
多邊形3, l_1, h, j = Polygon(H, J, L)
多邊形4, l_2, k, m = Polygon(K, M, L)
n = 4 (slider from 0 to 4, step 1)
N, P, Q = 工具1(L, G)
R, S, T = 工具1(H, L)
U, V, W = 工具1(L, J)
Z, A_1, B_1 = 工具1(K, L)
C_1, D_1, E_1 = 工具1(L, M)
多邊形5, c_2, d_1, e_1 = Polygon(D_1, E_1, C_1)
多邊形6, s, n_1, q = Polygon(N, Q, S)
多邊形7, r, t, s_1 = Polygon(T, S, R)
多邊形8, w, u, a_2 = Polygon(U, A_1, W)
多邊形9, b_1, z, a_3 = Polygon(Z, A_1, B_1)
F_1, G_1, H_1 = 工具1(E, L)
多邊形10, h_1, f_1, g_1 = Polygon(F_1, G_1, H_1)
I_1 = Corner(1.0)
J_1 = Corner(4.0)
K_1, L_1, M_1 = 工具1(G, A)
N_1, O_1, P_1 = 工具1(C, E)
Q_1, R_1, S_1 = 工具1(M, C)
T_1, U_1, V_1 = 工具1(D, K)
W_1, Z_1, A_2 = 工具1(J, D)
B_2, C_2, D_2 = 工具1(A, H)
多邊形13, a_4, w_1, z_1 = Polygon(W_1, Z_1, A_2)
多邊形14, t_1, v_1, z_2 = Polygon(V_1, Z_1, T_1)
多邊形15, q_1, s_2, r_1 = Polygon(S_1, R_1, Q_1)
多邊形16, p_1, n_2, r_2 = Polygon(N_1, R_1, P_1)
E_2, F_2, G_2 = 工具1(S_1, C)
H_2, I_2, J_2 = 工具1(C, N_1)
多邊形17, i_2, j_2, h_2 = Polygon(J_2, H_2, I_2)
多邊形18, e_2, i_1, g_2 = Polygon(I_2, G_2, E_2)
多邊形11, m_1, k_1, c_3 = Polygon(K_1, C_2, M_1)
多邊形12, d_2, b_2, c_4 = Polygon(B_2, C_2, D_2)
K_2, L_2, M_2 = 工具1(N_1, R_1)
N_2, O_2, P_2 = 工具1(R_1, S_1)
多邊形19, k_2, m_2, l_3 = Polygon(M_2, L_2, K_2)
多邊形20, l_4, p_2, n_3 = Polygon(P_2, N_2, L_2)
Q_2, R_2, S_2 = 工具1(R_1, P_1)
T_2, U_2, V_2 = 工具1(Q_1, R_1)
W_2, Z_2, A_3 = 工具1(M, Q_1)
B_3, C_3, D_3 = 工具1(E_1, M)
H_3, I_3, J_3 = 工具1(F_1, G_1)
K_3, L_3, M_3 = 工具1(E, F_1)
N_3, O_3, P_3 = 工具1(P_1, E)
Q_3, R_3, S_3 = 工具1(C_1, G_1)
多邊形21, t_2, v_2, u_2 = Polygon(V_2, U_2, T_2)
多邊形22, z_3, w_2, a_5 = Polygon(W_2, A_3, Z_2)
E_3, F_3, G_3 = 工具1(G_1, E_1)
多邊形23, d_3, b_3, c_5 = Polygon(B_3, C_3, D_3)
多邊形24, e_3, g_3, f_3 = Polygon(G_3, F_3, E_3)
多邊形25, i_3, j_3, h_3 = Polygon(J_3, H_3, I_3)
多邊形26, k_3, l_5, m_3 = Polygon(L_3, M_3, K_3)
多邊形27, o_3, p_3, n_4 = Polygon(P_3, N_3, O_3)
多邊形28, s_3, q_2, r_3 = Polygon(Q_2, R_2, S_2)
多邊形29, q_3, s_4, r_4 = Polygon(S_3, R_3, Q_3)
T_3, U_3, V_3 = 工具1(L, C_1)
多邊形30, t_3, u_3, v_3 = Polygon(U_3, V_3, T_3)
W_3, Z_3, A_4 = 工具1(H_1, L)
B_4, C_4, D_4 = 工具1(G_1, H_1)
多邊形31, a_6, w_3, z_4 = Polygon(W_3, Z_3, A_4)
多邊形32, c_6, d_4, b_4 = Polygon(D_4, B_4, C_4)
E_4, F_4, G_4 = 工具1(B_1, L)
H_4, I_4, J_4 = 工具1(A_1, B_1)
K_4, L_4, M_4 = 工具1(U, A_1)
N_4, O_4, P_4 = 工具1(L, U)
Q_4, R_4, S_4 = 工具1(T, L)
T_4, U_4, V_4 = 工具1(L, N)
W_4, Z_4, A_5 = 工具1(N, S)
B_5, C_5, D_5 = 工具1(S, T)
E_5, F_5, G_5 = 工具1(W, J)
H_5, I_5, J_5 = 工具1(J, W_1)
K_5, L_5, M_5 = 工具1(W_1, Z_1)
N_5, O_5, P_5 = 工具1(Z_1, V_1)
Q_5, R_5, S_5 = 工具1(V_1, K)
T_5, U_5, V_5 = 工具1(K, Z)
W_5, Z_5, A_6 = 工具1(Z, A_1)
B_6, C_6, D_6 = 工具1(A_1, W)
E_6, F_6, G_6 = 工具1(Z_1, A_2)
H_6, I_6, J_6 = 工具1(A_2, D)
K_6, L_6, M_6 = 工具1(D, T_1)
N_6, O_6, P_6 = 工具1(T_1, Z_1)
Q_6, R_6, S_6 = 工具1(S, Q)
T_6, U_6, V_6 = 工具1(Q, G)
W_6, Z_6, A_7 = 工具1(G, K_1)
B_7, C_7, D_7 = 工具1(K_1, C_2)
E_7, F_7, G_7 = 工具1(C_2, D_2)
H_7, I_7, J_7 = 工具1(D_2, H)
K_7, L_7, M_7 = 工具1(H, R)
N_7, O_7, P_7 = 工具1(A, B_2)
Q_7, R_7, S_7 = 工具1(B_2, C_2)
T_7, U_7, V_7 = 工具1(C_2, M_1)
W_7, Z_7, A_8 = 工具1(M_1, A)
多邊形33, a_7, w_5, z_5 = Polygon(W_5, Z_5, A_6)
多邊形34, j_4, h_4, l_6 = Polygon(H_4, L_4, J_4)
多邊形35, g_4, e_4, o_4 = Polygon(E_4, O_4, G_4)
多邊形36, n_5, o_1, p_4 = Polygon(O_4, P_4, N_4)
多邊形37, m_4, k_4, l_7 = Polygon(K_4, L_4, M_4)
多邊形38, d_6, b_6, c_7 = Polygon(B_6, C_6, D_6)
多邊形39, t_5, v_5, u_5 = Polygon(V_5, U_5, T_5)
多邊形40, o_5, p_5, n_6 = Polygon(P_5, N_5, O_5)
多邊形41, k_5, m_5, l_8 = Polygon(M_5, L_5, K_5)
多邊形42, h_5, j_5, i_5 = Polygon(J_5, I_5, H_5)
多邊形43, e_5, f_5, g_5 = Polygon(F_5, G_5, E_5)
多邊形44, n_7, o_6, p_6 = Polygon(O_6, P_6, N_6)
多邊形45, e_6, o_2, g_6 = Polygon(O_6, G_6, E_6)
多邊形46, v_4, t_4, u_4 = Polygon(T_4, U_4, V_4)
多邊形47, q_4, s_5, u_1 = Polygon(S_4, U_4, Q_4)
多邊形48, b_5, d_5, c_8 = Polygon(D_5, C_5, B_5)
多邊形49, c_9, a_8, w_4 = Polygon(A_5, W_4, C_5)
多邊形50, r_6, s_6, q_6 = Polygon(S_6, Q_6, R_6)
多邊形51, v_6, t_6, u_6 = Polygon(T_6, U_6, V_6)
多邊形52, k_7, m_7, l_9 = Polygon(M_7, L_7, K_7)
B_8, C_8, D_8 = 工具1(R, S)
多邊形53, d_8, b_8, c_{10} = Polygon(B_8, C_8, D_8)
多邊形54, s_7, q_5, r_5 = Polygon(Q_5, R_5, S_5)
多邊形55, l_{10}, m_6, k_6 = Polygon(M_6, K_6, L_6)
多邊形56, h_6, l_{11}, j_6 = Polygon(L_6, J_6, H_6)
多邊形57, a_9, w_6, z_6 = Polygon(W_6, Z_6, A_7)
多邊形58, b_7, d_7, c_{11} = Polygon(D_7, C_7, B_7)
多邊形59, f_7, g_7, e_7 = Polygon(G_7, E_7, F_7)
多邊形60, v_7, u_7, t_7 = Polygon(U_7, T_7, V_7)
多邊形61, u_8, s_8, q_7 = Polygon(S_7, Q_7, U_7)
多邊形62, n_8, p_7, z_7 = Polygon(P_7, Z_7, N_7)
多邊形63, a_{10}, w_7, z_8 = Polygon(W_7, Z_7, A_8)

Tool: 工具1
Input: E, F
Output: E_1, G, E_2

E_1: 1.0 / 3.0 * F + 2.0 / 3.0 * E
E_2: 1.0 / 3.0 * E + 2.0 / 3.0 * F
G = Rotate(E_1, 60.0*°, E_2)