Author: מרכז מורים

a = 100 (slider from b to 100, step 1)
b = 45 (slider from 0 to 100, step 1)
text1: "a=" + a
text2: "b=" + b
A = (-5, -5)
B = Point(Circle[A, a])
C = Point(Circle[A, a / 10])
c = Segment(A, C)
poly1, a_1, c_1, d, e, D, E = Polygon(A, C, 4)
F = Midpoint(A, D)
f = Circle(F, b / 20)
g = OrthogonalLine(F, c_1)
G, H = Intersect(f, g)
h = Tangent(H, f)
k = Circle(H, b / 20)
I, J = Intersect(k, h)
poly2, j, i, l, m, K, L = Polygon(J, I, 4)
n = Segment(E, J)
p = Segment(D, L)
q = Segment(C, K)
r = Segment(A, I)
A_1: A
C_1 = Point(Circle[A_1, a / 10])
c_3 = Segment(A_1, C_1)
poly1_1, a_2, c_2, d_1, e_1, D_1, E_1 = Polygon(A_1, C_1, 4)
F_1 = Midpoint(A_1, D_1)
f_1 = Circle(F_1, b / 20)
g_1 = OrthogonalLine(F_1, c_2)
G_1, H_1 = Intersect(f_1, g_1)
h_1 = Tangent(H_1, f_1)
k_1 = Circle(H_1, b / 20)
I_1, J_1 = Intersect(k_1, h_1)
poly2_1, j_1, i_1, l_1, m_1, K_1, L_1 = Polygon(J_1, I_1, 4)
p_1 = Segment(D_1, L_1)
q_1 = Segment(C_1, K_1)
r_1 = Segment(A_1, I_1)
M = Midpoint(d)
N = Midpoint(m)