Figure 2
Author: Ida élève de seconde

u = 1 (slider from 0 to 1, step 0.1)
B = (12.277916195121957, 0.5735663414634128)
D = (0.2737245853658572, 0.44786799999999816)
a = Segment(D, B)
C_1 = Midpoint(a)
b = OrthogonalLine(C_1, a)
A = Point(b)
C = Point(b)
i = Segment(A, C)
distanceAC_1 = Distance(A, C_1)
TexteAC_1: "\overline{" + (Name[A]) + (Name[C_1]) + "} \, = \, " + distanceAC_1
distanceC_1C = Distance(C_1, C)
c = Distance(C_1, C)
TexteC_1C: "\overline{" + (Name[C_1]) + (Name[C]) + "} \, = \, " + c
d = Segment(A, B)
e = Segment(B, C)
f = Segment(C, D)
g = Segment(D, A)
h = Distance(g, f)
j = Distance(e, d)
k = Circle(A, 2.0)
E = Intersect(k, g, 1.0)
p = Circle(E, 1.5)
F = Intersect(p, g, 1.0)
G_1 = Intersect(p, g, 1.0)
q = Circle(F, 1.0)
G = Intersect(q, g, 1.0)
l = Segment(E, C_1)
m = Segment(F, C_1)
n = Segment(G, C_1)
r = Circle(D, 2.0)
I = Intersect(r, g, 1.0)
s = Circle(I, 1.5)
J = Intersect(s, g, 2.0)
t = Circle(J, 1.0)
K = Intersect(t, g, 2.0)
a1 = Segment(K, C_1)
b1 = Segment(C_1, J)
c1 = Segment(I, C_1)
e1 = Circle(C_1, 3.0 - u)
f1 = Circle(C_1, 4.0 - u)
E' = Mirror(E, i)
C_1' = Mirror(C_1, i)
g1 = Segment(E', C_1')
F' = Mirror(F, i)
C_2 = Mirror(C_1, i)
h1 = Segment(F', C_2)
G' = Mirror(G, i)
C_3 = Mirror(C_1, i)
i1 = Segment(G', C_3)
K' = Mirror(K, i)
C_4 = Mirror(C_1, i)
j1 = Segment(K', C_4)
C_5 = Mirror(C_1, b1)
J' = Mirror(J, b1)
I' = Mirror(I, i)
C_6 = Mirror(C_1, i)
l1 = Segment(I', C_6)
C_7 = Mirror(C_1, i)
J'_1 = Mirror(J, i)
m1 = Segment(C_7, J'_1)
I'' = Mirror(I', a)
C_6' = Mirror(C_6, a)
n1 = Segment(I'', C_6')
C_7' = Mirror(C_7, a)
J'_1' = Mirror(J'_1, a)
p1 = Segment(C_7', J'_1')
K'' = Mirror(K', a)
C_4' = Mirror(C_4, a)
q1 = Segment(K'', C_4')
G'' = Mirror(G', a)
C_3' = Mirror(C_3, a)
r1 = Segment(G'', C_3')
F'' = Mirror(F', a)
C_2' = Mirror(C_2, a)
s1 = Segment(F'', C_2')
E'' = Mirror(E', a)
C_1'' = Mirror(C_1', a)
t1 = Segment(E'', C_1'')
E''' = Mirror(E'', i)
C_1''' = Mirror(C_1'', i)
a2 = Segment(E''', C_1''')
F''' = Mirror(F'', i)
C_2'' = Mirror(C_2', i)
b2 = Segment(F''', C_2'')
G''' = Mirror(G'', i)
C_3'' = Mirror(C_3', i)
c2 = Segment(G''', C_3'')
K''' = Mirror(K'', i)
C_4'' = Mirror(C_4', i)
d2 = Segment(K''', C_4'')
C_7'' = Mirror(C_7', i)
J'_1'' = Mirror(J'_1', i)
e2 = Segment(C_7'', J'_1'')
I''' = Mirror(I'', i)
C_6'' = Mirror(C_6', i)
f2 = Segment(I''', C_6'')
H = Intersect(g, n)
k1 = Circle(H, 0.5)
L = Intersect(k1, g, 1.0)
M = Intersect(g, a1)
g2 = Circle(M, 0.5)
N = Intersect(g2, g, 2.0)
h2 = Segment(N, C_1)
i2 = Segment(C_1, L)
k2 = Circle(N, 0.25)
p2 = Circle(L, 0.25)
O = Intersect(p2, g, 1.0)
P = Intersect(k2, g, 2.0)
j2 = Segment(P, C_1)
l2 = Segment(C_1, O)
C_8 = Mirror(C_1, i)
L' = Mirror(L, i)
m2 = Segment(C_8, L')
C_9 = Mirror(C_1, i)
O' = Mirror(O, i)
n2 = Segment(C_9, O')
P' = Mirror(P, i)
C_{10} = Mirror(C_1, i)
q2 = Segment(P', C_{10})
N' = Mirror(N, i)
C_{11} = Mirror(C_1, i)
r2 = Segment(N', C_{11})
N'' = Mirror(N', a)
C_{11}' = Mirror(C_{11}, a)
s2 = Segment(N'', C_{11}')
P'' = Mirror(P', a)
C_{10}' = Mirror(C_{10}, a)
t2 = Segment(P'', C_{10}')
C_9' = Mirror(C_9, a)
O'' = Mirror(O', a)
a3 = Segment(C_9', O'')
C_8' = Mirror(C_8, a)
L'' = Mirror(L', a)
b3 = Segment(C_8', L'')
C_8'' = Mirror(C_8', i)
L''' = Mirror(L'', i)
c3 = Segment(C_8'', L''')
C_9'' = Mirror(C_9', i)
O''' = Mirror(O'', i)
d3 = Segment(C_9'', O''')
P''' = Mirror(P'', i)
C_{10}'' = Mirror(C_{10}', i)
e3 = Segment(P''', C_{10}'')
N''' = Mirror(N'', i)
C_{11}'' = Mirror(C_{11}', i)
f3 = Segment(N''', C_{11}'')
poly1, p'', c_1, o'' = Polygon(C_1, O'', P'')
poly2, o''', c_2, p''' = Polygon(C_1, P''', O''')
poly3, p_1, c_3, o = Polygon(C_1, O, P)
poly4, p', c_4, o' = Polygon(C_1, O', P')
g3 = Circle(C_1, 5.0 - u)
d1 = Circle(C_1, 2.0 - u)