ursprüngliches Rechteck

 \frac{ 12 }{ 24} 

 \frac{ 6 }{12 } 

 \frac{ 4 }{ 8} 

 \frac{ 3 }{6 } 

 \frac{ 2 }{ 4} 

 \frac{ 1 }{2 } 

 \frac{ 12 }{24 } 

A = (-2, 5)
B = (2, 5)
C = (2, 2)
D = (-2, 2)
poly1, a, b, c, d = Polygon(A, B, C, D)
E = (-1, 5)
F = (0, 5)
G = (1, 5)
H = (-2, 4)
K = (1, 2)
L = (0, 2)
M = (-1, 2)
N = (-2, 3)
O = (3, 5)
P = (4, 5)
Q = (5, 5)
R = (6, 5)
S = (6, 4)
T = (6, 3)
U = (6, 2)
V = (5, 2)
W = (4, 2)
Z = (3, 2)
e = Segment(A, R)
f = Segment(R, U)
g = Segment(U, D)
h = Segment(D, A)
i = Segment(H, S)
j = Segment(N, T)
k = Segment(E, M)
l = Segment(F, L)
m = Segment(G, K)
n = Segment(B, C)
p = Segment(O, Z)
q = Segment(P, W)
r = Segment(Q, V)
o = 1 (slider from 1 to 6, step 1)
I = (-2, 3.5)
J = (6, 3.5)
s = Segment(I, J)
t: round(1.2 o - 0.4167 o^(2) + 0.2917 o^(3) - 0.0833 o^(4) + 0.0083 o^(5))
text1: "Kürze mit " + t
A_1 = (6.4, 6.800000000000001)
B_1 = (6.4, 5.6000000000000005)
C_1 = (9.600000000000001, 5.6000000000000005)
D_1 = (9.600000000000001, 6.800000000000001)
poly2, a_1, b_1, c_1, d_1 = Polygon(A_1, B_1, C_1, D_1)
E_1 = Point(d_1)
F_1 = Point(b_1)
e_1 = Segment(E_1, F_1)
G_1 = Point(d_1)
H_1 = (7.2, 5.6000000000000005)
f_1 = Segment(G_1, H_1)
I_1 = Point(d_1)
J_1 = Point(b_1)
g_1 = Segment(I_1, J_1)
K_1 = Point(d_1)
L_1 = Point(b_1)
h_1 = Segment(K_1, L_1)
M_1 = Point(d_1)
N_1 = (8.8, 5.6000000000000005)
i_1 = Segment(M_1, N_1)
O_1 = Point(a_1)
P_1 = Point(c_1)
j_1 = Segment(O_1, P_1)
Q_1 = Point(a_1)
R_1 = Point(c_1)
k_1 = Segment(Q_1, R_1)
S_1 = Point(d_1)
T_1 = Point(b_1)
l_1 = Segment(S_1, T_1)
U_1 = Point(d_1)
V_1 = Point(b_1)
m_1 = Segment(U_1, V_1)
poly3, a_2, s_1, t_1, b_2 = Polygon(A_1, S_1, T_1, B_1)
poly4, a_3, b_3, c_2, d_2 = Polygon(A, B, C, D)

Tool: Schere
Input: A, B
Output: a

a = Segment(A, B)