Taller 2: Homotecia y Reflexión Final

$A$

$\Large{O}$

$$A'$$

$$L$$

$$R$$

$$B$$

$$A''$$

A: (-5.456612349727035, 1.9586320765013108)
B: (-5.436612349727034, 3.0186320765013095)
C: (-2.9766123497270343, 4.21863207650131)
D: (-2.2166123497270345, 2.358632076501311)
E: (-3.7966123497270345, 0.29863207650131063)
pol1, a, b, c, d, e = Polygon(A, B, C, D, E)
k = 0.4 (slider from 0 to 5, step 0.2)
F = (-6.1951105432859075, -1.6998161239725047)
A' = Dilate(A, k, F)
B' = Dilate(B, k, F)
C' = Dilate(C, k, F)
D' = Dilate(D, k, F)
E' = Dilate(E, k, F)
pol1', a', b', c', d', e' = Polygon(A', B', C', D', E')
A'_{1} = Dilate(A, 3.8, F)
B'_{1} = Dilate(B, 3.8, F)
C'_{1} = Dilate(C, 3.8, F)
D'_{1} = Dilate(D, 3.8, F)
E'_{1} = Dilate(E, 3.8, F)
pol1'_{1}, a'_{1}, b'_{1}, c'_{1}, d'_{1}, e'_{1} = Polygon(A'_{1}, B'_{1}, C'_{1}, D'_{1}, E'_{1})
G = (9.04161913830276, 24.727683409198065)
H = (11.450593183487221, 2.456973641350846)
Z = Line(G, H)
I = Mirror(A'_{1}, Z)
J = Mirror(B'_{1}, Z)
K = Mirror(C'_{1}, Z)
L = Mirror(D'_{1}, Z)
M = Mirror(E'_{1}, Z)
f = false
pol3, k_2, l_2, m_{1}, i_{1}, j_{1} = Polygon(K, L, M, I, J)
K_{1} = Mirror(A', Z)
L_{1} = Mirror(B', Z)
M_{1} = Mirror(C', Z)
I_{1} = Mirror(D', Z)
J_{1} = Mirror(E', Z)
pol4, m_{2}, i_{2}, j_{2}, k_{3}, g = Polygon(M_{1}, I_{1}, J_{1}, K_{1}, L_{1})
N = Intersect(a', e')
i = Segment(F, N)
O = Intersect(b', c')
j = Segment(F, O)
P = Intersect(c', d')
l = Segment(F, P)
Q = Intersect(d', e')
m = Segment(F, Q)
R = Intersect(a', b')
n = Segment(F, R)