Augmenter le n° de l'étape à l'aide du curseur

A = (-2, 1)
B = (0, 1)
poly1, a, b, c, d, C, D = Polygon(A, B, 4.0)
E = Rotate(Dilate[D, 0.7071067811865475, C], 345.0*°, C)
poly2, e, c_1, f, g, F, G = Polygon(E, C, 4.0)
H, I, poly3 = TP5(G, F)
J, K, poly4 = TP5(H, I)
L, M, poly5 = TP5(J, K)
N, O, poly6 = TP5(L, M)
P, Q, poly7 = TP5(C, B)
R, S, poly8 = TP5(P, Q)
T, U, poly9 = TP5(R, S)
V, W, poly10 = TP5(T, U)
Z, A_1, poly11 = TP5(V, W)
B_1, C_1, poly12 = TP5(A, D)
D_1, E_1, poly13 = TP5(B_1, C_1)
F_1, G_1, poly14 = TP5(D_1, E_1)
H_1, I_1, poly15 = TP5(F_1, G_1)
J_1, K_1, poly16 = TP5(H_1, I_1)
L_1, M_1, poly17 = TP5(B, A)
N_1, O_1, poly18 = TP5(L_1, M_1)
P_1, Q_1, poly19 = TP5(N_1, O_1)
R_1, S_1, poly20 = TP5(P_1, Q_1)
T_1, U_1, poly21 = TP5(R_1, S_1)
étape = 1 (slider from 1 to 8, step 1)
k = CircleArc(C, G, D)
p = CircleArc(B, P, C)
q = CircleArc(A, L_1, B)
r = CircleArc(D, B_1, A)
s: 5.0 - 4.0 * 0.5^(étape - 1.0)
V_1, W_1, poly22 = TP5(J_1, K_1)
Z_1, A_2, poly23 = TP5(V_1, W_1)
B_2, C_2, poly24 = TP5(N, O)
D_2, E_2, poly25 = TP5(B_2, C_2)
F_2, G_2, poly26 = TP5(Z, A_1)
H_2, I_2, poly27 = TP5(F_2, G_2)
J_2, K_2, poly28 = TP5(T_1, U_1)
L_2, M_2, poly29 = TP5(J_2, K_2)
texte1: "Aire totale = " + s

Tool: TP5
Input: D, C
Output: G, F, poly2

E = Rotate(Dilate[D, 0.7071067811865475, C], 345.0*°, C)
poly2, e, c_1, f, g, F, G = Polygon(E, C, 4.0)