anime = 0.9599310885968813 rad (slider from 0 to 810°, step 0.017453292519943295)
δ = If(anime > 90°, Min[91°, anime - 91°], 0°)
a: 1
A: (1, -1, 0)
B: (1, 1, 0)
C: (-1, 1, 0)
D: (-1, -1, 0)
q1, a_1, b, c, d = Polygon(A, B, C, D)
β = Min(90°, anime)
α: 180° - β
A' = Rotate(A, α, c)
B' = Rotate(B, α, c)
f = Segment(A', B')
g = Segment(A', D)
h = Segment(B', C)
γ: 180° - δ
B'' = Rotate(B', γ, g)
C' = Rotate(C, γ, g)
h' = Segment(B'', C')
A'' = Rotate(A', δ - 180°, h)
D' = Rotate(D, δ - 180°, h)
g' = Segment(A'', D')
i = Segment(B'', A')
j = Segment(C', D)
k = Segment(A'', B')
l = Segment(D', C)
ε = If(anime > 180°, Min[90°, anime - 180°], 0°)
C'_1 = Rotate(C, (-(ε - 180°)), a_1)
D'_1 = Rotate(D, (-(ε - 180°)), a_1)
c' = Segment(C'_1, D'_1)
m = Segment(A, D'_1)
n = Segment(B, C'_1)
ζ = If(anime > 270°, Min[90°, anime - 270°], 0°)
A'_1 = Rotate(A, (-(180° - ζ)), n)
E = Rotate(D'_1, (-(180° - ζ)), n)
m' = Segment(A'_1, E)
B'_1 = Rotate(B, (-(ζ - 180°)), m)
F = Rotate(C'_1, (-(ζ - 180°)), m)
n' = Segment(B'_1, F)
p = Segment(A'_1, B)
q = Segment(E, C'_1)
r = Segment(B'_1, A)
s = Segment(F, D'_1)
η = If(anime > 360°, Min[89°, anime - 360°], 0°)
θ = If(anime > 450°, Min[177°, anime - 450°], 0°)
λ = If(anime > 720°, Min[90°, anime - 720°], 0°)
κ = If(anime > 630°, Min[92°, anime - 630°], 0°)
D'_2 = Rotate(D, 180° - η, b)
A'_2 = Rotate(A, 180° - η, b)
d' = Segment(D'_2, A'_2)
B'_2 = Rotate(B, (-(η - 180°)), d)
C'_2 = Rotate(C, (-(η - 180°)), d)
b' = Segment(B'_2, C'_2)
t = Segment(C'_2, D)
e = Segment(B'_2, A)
f_1 = Segment(D'_2, C)
g_1 = Segment(A'_2, B)
A'_3 = Rotate(A, λ - 180°, c')
B'_3 = Rotate(B, λ - 180°, c')
h_1 = Segment(A'_3, B'_3)
i_1 = Segment(C'_1, B'_3)
j_1 = Segment(D'_1, A'_3)
G = Midpoint(C'_1, B'_3)
H = Midpoint(D'_1, A'_3)
l_1 = Segment(C'_1, G)
m_1 = Segment(D'_1, H)
I = Rotate(C'_1, 180° - κ, j_1)
G' = Rotate(G, 180° - κ, j_1)
k_1 = Segment(I, G')
J = Rotate(D'_1, κ - 180°, i_1)
H' = Rotate(H, κ - 180°, i_1)
n_1 = Segment(J, H')
p_1 = Segment(I, D'_1)
q_1 = Segment(G', A'_3)
r_1 = Segment(J, C'_1)
s_1 = Segment(H', B'_3)
K = Rotate(C'_1, (-(κ - 180°)), h_1)
L = Rotate(D'_1, (-(κ - 180°)), h_1)
c'' = Segment(K, L)
t_1 = Segment(A'_3, L)
b_1 = Segment(B'_3, K)
M = Midpoint(C'_2, D)
N = Midpoint(B'_2, A)
O = Midpoint(D'_2, C)
P = Midpoint(A'_2, B)
c_1 = Segment(M, N)
d_1 = Segment(O, P)
M' = Rotate(M, (-(180° - θ)), b')
N' = Rotate(N, (-(180° - θ)), b')
e_1 = Segment(M', N')
O' = Rotate(O, θ - 180°, d')
P' = Rotate(P, θ - 180°, d')
f_2 = Segment(O', P')
g_2 = Segment(M', C'_2)
h_2 = Segment(N', B'_2)
i_2 = Segment(O', D'_2)
j_2 = Segment(P', A'_2)
Q = Midpoint(B', C)
R = Midpoint(B', A')
S = Midpoint(A', D)
T = Midpoint(D, C)
U = Midpoint(C, B)
W = Midpoint(B, C'_1)
Z = Midpoint(D'_1, A)
A_1 = Midpoint(A, D)
C_1 = Midpoint(A, B)
D_1 = Midpoint(C'_1, D'_1)
E_1 = Midpoint(A'_3, B'_3)
F_1 = Midpoint(D'_2, A'_2)
G_1 = Midpoint(C'_2, B'_2)
V = Midpoint(D, A_1)
B_1 = Midpoint(A_1, A)
H_1 = Midpoint(A, Z)
I_1 = Midpoint(Z, D'_1)
J_1 = Midpoint(D'_1, H)
K_1 = Midpoint(H, A'_3)
L_1 = Midpoint(A'_3, E_1)
M_1 = Midpoint(E_1, B'_3)
N_1 = Midpoint(B'_3, G)
O_1 = Midpoint(G, C'_1)
P_1 = Midpoint(C'_1, W)
Q_1 = Midpoint(W, B)
R_1 = Midpoint(B, U)
S_1 = Midpoint(U, C)
T_1 = Midpoint(C, Q)
U_1 = Midpoint(Q, B')
V_1 = Midpoint(B', R)
W_1 = Midpoint(R, A')
Z_1 = Midpoint(A', S)
A_2 = Midpoint(S, D)
B_2 = Midpoint(D, T)
C_2 = Midpoint(T, C)
D_2 = Midpoint(C, O)
E_2 = Midpoint(O, D'_2)
F_2 = Midpoint(D'_2, F_1)
G_2 = Midpoint(F_1, A'_2)
H_2 = Midpoint(A'_2, P)
I_2 = Midpoint(P, B)
J_2 = Midpoint(B, C_1)
K_2 = Midpoint(C_1, A)
L_2 = Midpoint(A, N)
M_2 = Midpoint(N, B'_2)
N_2 = Midpoint(B'_2, G_1)
O_2 = Midpoint(G_1, C'_2)
P_2 = Midpoint(C'_2, M)
Q_2 = Midpoint(M, D)
R_2 = Midpoint(D'_1, D_1)
S_2 = Midpoint(D_1, C'_1)
q2, a'', k_2, c_2, l_2 = Polygon(A'', B', C, D')
q3, a', b'', m_2, d_2 = Polygon(A', B'', C', D)
q4, a'_1, b_2, c'_1, e_2 = Polygon(A'_1, B, C'_1, E)
q5, a_2, b'_1, f_3, d'_1 = Polygon(A, B'_1, F, D'_1)
q6, j_3, n_2, b'_3, p_2 = Polygon(J, C'_1, B'_3, H')
q7, q_2, i_3, r_2, a'_3 = Polygon(D'_1, I, G', A'_3)
q8, s_2, t_2, l_3, k_3 = Polygon(B'_3, A'_3, L, K)
q9, o', d'_2, a'_2, p' = Polygon(O', D'_2, A'_2, P')
q10, c'_2, g_3, h_3, b'_2 = Polygon(C'_2, M', N', B'_2)
q11, c_3, d_3, a_3, b_3 = Polygon(C, D, A, B)
q12, m_3, n_3, p_3, q_3 = Polygon(C'_1, D'_1, A'_3, B'_3)
q13, r_3, s_3, d_4, c_4 = Polygon(B', A', D, C)
q14, b_4, a_4, t_3, e_3 = Polygon(B, A, D'_1, C'_1)
q15, f_4, c_5, b_5, g_4 = Polygon(D'_2, C, B, A'_2)
q16, d_5, h_4, i_4, a_5 = Polygon(D, C'_2, B'_2, A)