ABCD est un parallélogramme

EFGH est un parallélogramme

Comment transformer un parallélogramme en losange ?

Comment transformer un quadrilatère quelconque en losange ?

B = (11, 3.88)
C = (15, 4.5)
b = Segment(B, C)
K = (-1.6, 4.5)
KL = 7.5 (slider from 0 to 10, step 0.1)
LM = 6 (slider from 0 to 10, step 0.1)
MJ = 4.3 (slider from 0 to 10, step 0.1)
JK = 5.8 (slider from 0 to 10, step 0.1)
p = Circle(K, KL)
L = Point(p)
q = Circle(K, JK)
J = Point(q)
r = Circle(L, LM)
s = Circle(J, MJ)
M = Intersect(r, s, 1)
t = Segment(K, L)
f_1 = Segment(L, M)
g_1 = Segment(M, J)
h_1 = Segment(J, K)
AB = 2.6 (slider from 0 to 10, step 0.1)
c = Circle(B, AB)
A = Point(c)
f = Segment(B, A)
a = Line(A, b)
d = Line(C, f)
D = Intersect(a, d)
e = Segment(A, D)
i_1 = Segment(D, C)
I = (11.1, -4.7)
E = (8.8, -2.9)
angle = 69 (slider from 0 to 180, step 1)
E' = Rotate(E, angle°, I)
α = Angle(E, I, E')
G = Mirror(E, I)
g = Line(I, E')
H = Point(g)
F = Mirror(H, I)
h = Segment(E, F)
i = Segment(F, G)
j = Segment(G, H)
k = Segment(H, E)
l = Segment(E, G)
m = Segment(F, H)