Triangles

Trapèzes

Illusion:\;une\;case\;en\;trop

Consigne:\
\Pour\;la\;composition\;et \;la \;du\;rectangle,\;manier\
 les\; curseurs\;''Triangles''\;et\''Trapèzes''\;

Carré\; de\; départ

M = (7, -4)
N = Point(Circle[M, 3])
a = Segment(M, N)
P' = Point(a)
d' = Distance(M, P')
E':(11, 4)
A:(-4, 4)
u = Vector(A, E')
B:(-4, -4)
C:(4, -4)
D:(4, 4)
E:(-4, 1)
e = Segment(D, E)
F:(4, 1)
f = Segment(E, F)
G:(-1, 1)
H:(1, -4)
g = Segment(G, H)
poly2, e_1, a_1, d_1 = Polygon(A, D, E)
poly3, e_2, g_1, h, b_1 = Polygon(E, G, H, B)
poly4, f_1, e_3, d_2 = Polygon(E, D, F)
poly5, g_2, f_2, c_1, h_1 = Polygon(G, F, C, H)
B':(6, 4)
i = LineBisector(E, E')
j = LineBisector(B, B')
I = Intersect(i, j)
G' = Rotate(G, (-(90°)), I)
H' = Rotate(H, (-(90°)), I)
B'_1 = Rotate(B, (-(90°)), I)
A' = Translate(A, u)
D' = Translate(D, u)
E'_2 = Translate(E, u)
v = Vector(E, H')
E'_3 = Translate(E, v)
D'_1 = Translate(D, v)
F' = Translate(F, v)
k = LineBisector(C, F')
l = LineBisector(H, D'_1)
J = Intersect(k, l)
G'_1 = Rotate(G, (-(90°)), J)
F'_1 = Rotate(F, (-(90°)), J)
C' = Rotate(C, (-(90°)), J)
H'_1 = Rotate(H, (-(90°)), J)
K = (13, -4)
L = Point(Circle[K, 3])
m = Segment(K, L)
P = Point(m)
d = Distance(K, P)
α: (-30 * d)
E'_1 = Rotate(E, α°, I)
G'_2 = Rotate(G, α°, I)
H'_2 = Rotate(H, α°, I)
B'_2 = Rotate(B, α°, I)
poly3', e'_1, g'_2, h'_2, b'_2 = Polygon(E'_1, G'_2, H'_2, B'_2)
G'_3 = Rotate(G, α°, J)
F'_2 = Rotate(F, α°, J)
C'_1 = Rotate(C, α°, J)
H'_3 = Rotate(H, α°, J)
poly5', g'_3, f'_2, c'_1, h'_3 = Polygon(G'_3, F'_2, C'_1, H'_3)
v': (d' / 3 * v)
u': (d' / 3 * u)
A'_1 = Translate(A, u')
D'_2 = Translate(D, u')
E'_4 = Translate(E, u')
poly2', e'_4, a'_1, d'_2 = Polygon(A'_1, D'_2, E'_4)
E'_5 = Translate(E, v')
D'_3 = Translate(D, v')
F'_3 = Translate(F, v')
poly4', f'_3, e'_5, d'_3 = Polygon(E'_5, D'_3, F'_3)
c:x = 1
n:x = 3
p:x = 5
q:x = 7
r:x = 9
s:x = 11
t:x = 13
i_1:x = 15
j_1:x = 17
k_1:x = 19
l_1:x = 21
m_1:x = -1
n_1:x = -3
p_1:x = -5
q_1:x = -7
r_1:y = -7
s_1:y = -5
t_1:y = -3
a_2:y = -1
b_2:y = 1
c_2:y = 3
h_2:y = 5
i_2:y = 7