I wasn't expecting scaling the points by a some multiplier number for line through points example https://github.com/stevenpetryk/mafs/blob/main/src/display/L...
Doing some trigonometry to get the angles of the points and drawing lines from the svg edges could be a better approach