pythagoras07

a = 4 (slider from 3.5 to 7, step 0.1)
b: 7 - a
A: (0, 0)
B: (a + b, 0)
C: (a + b, a + b)
D: (0, a + b)
E: (a, 0)
F: (a + b, a)
G: (b, a + b)
H: (0, b)
f = Segment(A, B)
g = Segment(B, C)
h = Segment(C, D)
i = Segment(D, A)
j = Segment(E, F)
k = Segment(F, G)
l = Segment(G, H)
m = Segment(H, E)
I: (a, b)
J: (a, a + b)
n = Segment(H, I)
p = Segment(I, J)
q = Segment(J, D)
r = Segment(D, H)
K: (a - b, b)
L: (a - b, 0)
s = Segment(K, L)
t = Segment(L, E)
c = Segment(E, I)
d = Segment(I, K)
M = Intersect(m, s)
N = Intersect(k, p)
O: (a, a)
f_1 = Segment(O, F)
q1, h_1, g_1, n_1, i_1 = Polygon(H, G, N, I)
q2, k_1, m_1, e_1, i_2 = Polygon(K, M, E, I)
t1, l_1, m_2, e_2 = Polygon(M, E, L)
t2, f_2, n_2, o = Polygon(N, O, F)
t3, g_2, h_2, d_1 = Polygon(H, D, G)
t4, e_3, o_1, f_3 = Polygon(O, F, E)
t5, n_3, g_3, j_1 = Polygon(G, J, N)
t6, m_3, h_3, k_2 = Polygon(H, K, M)