O = (1.82, 1.96)
A_1 = (7.3, 3.96)
B = (3.4779817036795637, -2.013971205905624)
C = (8.210460554443218, 1.379126838038136)
D = (14.994, 1.332)
q1, a, b, c, d = Polygon(A_1, B, C, D)
k = 2.15 (slider from -5 to 5)
f = Ray(O, A_1)
e = Circle(O, (Distance[O, A_1] * k))
A' = Intersect(e, f, 1)
g = Ray(O, B)
h = Circle(O, (Distance[O, B] * k))
B' = Intersect(h, g, 1)
i = Ray(O, C)
p = Circle(O, (Distance[O, C] * k))
C' = Intersect(p, i, 1)
j = Ray(O, D)
q = Circle(O, (Distance[O, D] * k))
r = Circle(O, (Distance[O, D] * k))
D' = Intersect(r, j)
q2, a', b', c', d' = Polygon(A', B', C', D')
α = Angle(B, A_1, D)
β = Angle(B', A', D')
O_1 = (22.400009268722233, -2.431507949274418)
A_2 = (27.880009268722233, -0.43150794927441805)
B_1 = (26.400009268722233, -4.3795079492744176)
C_1 = (28.73200926872223, -1.9375079492744174)
D_1 = (35.574009268722236, -3.0595079492744173)
q1_1, a_1, b_1, c_1, d_1 = Polygon(A_2, B_1, C_1, D_1)
f_1 = Ray(O_1, A_2)
e_1 = Circle(O_1, (Distance[O_1, A_2] * k))
A'_1 = Intersect(e_1, f_1, 1)
g_1 = Ray(O_1, B_1)
h_1 = Circle(O_1, (Distance[O_1, B_1] * k))
B'_1 = Intersect(h_1, g_1, 1)
i_1 = Ray(O_1, C_1)
p_1 = Circle(O_1, (Distance[O_1, C_1] * k))
C'_1 = Intersect(p_1, i_1, 1)
j_1 = Ray(O_1, D_1)
r_1 = Circle(O_1, (Distance[O_1, D_1] * k))
D'_1 = Intersect(r_1, j_1)
q2_1, a'_1, b'_1, c'_1, d'_1 = Polygon(A'_1, B'_1, C'_1, D'_1)
α_1 = Angle(B_1, A_2, D_1)
β_1 = Angle(B'_1, A'_1, D'_1)
γ = Angle(C, B, A_1)
δ = Angle(D, C, B)
ε = Angle(A_1, D, C)
ζ = Angle(C', B', A')
η = Angle(A', D', C')
θ = Angle(D', C', B')
text2: "b'/b=" + b' + "/" + b + "=" + (b' / b) + ""
text1: "a'/a=" + a' + "/" + a + "=" + (a' / a) + ""
text3: "c'/c'=" + c' + "/" + c + "=" + (c' / c) + ""
text4: "d'/d=" + d' + "/" + d + "=" + (d' / d) + ""
text5: "q2/q1=" + q2 + "/" + q1 + "=" + (q2 / q1) + ""
text6: "a+b+c+d=" + a + "+" + b + "+" + c + "+" + d + "=" + (a + b + c + d) + ""
text7: "a'+b'+c'+d'=" + a' + "+" + b' + "+" + c' + "+" + d' + "=" + (a' + b' + c' + d') + ""