Test2

A = (5, 4)
B = (3, 2)
C = (6, 1)
poly1, c, a, b = Polygon(A, B, C)
D = (3, -1)
k = 1 (slider from -5 to 5, step 0.05)
A' = Dilate(A, k, D)
B' = Dilate(B, k, D)
C' = Dilate(C, k, D)
poly1', c', a', b' = Polygon(A', B', C')
f = Ray(D, C')
g = Ray(D, A')
h = Ray(D, B')
i = Ray(D, C)
j = Ray(D, A)
l = Ray(D, B)