tirage

Initialisation

A = (0, -0.5)
p: floor(2 * random() + 1)
B = (1, -0.5)
C = (1, 1.5)
D = (0, 1.5)
poly1, a, b, c, d = Polygon(A, B, C, D)
E = (2, -0.5)
F = (2, 1.5)
poly2, b_1, e, f, c_1 = Polygon(B, E, F, C)
M = (0.5, 0)
P = (0.5, 1)