Line(mob/a,mob/b)
var/obj/T = new/obj/Line
var/angle=a.AngleTo(b)
var/scale=get_dist_sq(a,b)
while(1)
sleep(0.25)
angle=a.AngleTo(b)
scale=get_dist_sq(a,b)
T.transform=turn(matrix()*2*scale,angle)
CopyLoc(T,a)

Problem description:
Is it possible to scale only the X/Y values as needed in order to keep the width of the line relatively similar? If so, what sort of math should I utilize?