geo-019-homotecia-2

r = 3 (slider from -1 to 3, step 0.1)
O = (1.72, 2.08)
A = (2.9, 1.3)
B = (4.68, 2.16)
C = (3.46, 3.76)
polígono1, c, a, b = Polygon(A, B, C)
d = Segment(O, A)
A' = Dilate(A, r, O)
e = Segment(O, A')
f = Segment(O, B)
B' = Dilate(B, r, O)
g = Segment(O, B')
h = Segment(O, C)
C' = Dilate(C, r, O)
i = Segment(O, C')
polígono2, b', c', a' = Polygon(C', A', B')