I have 3 coordinates,
moving_points. I know where each of these is supposed to really be,
fixed_points. I want to transform them (and many other coordinates) to these known locations (involving translation, rotation, but also a bit of stretching).
How can I create a transformation so that when it’s applied to these 3 coordinates they become a set of known other coordinates?
fixed_points = [[0,0], [0,50], [130,50]] moving_points = [rand(2) for _ in 1:3] trans = # Probably something involving CoordinateTransformations, the fixed_points, and moving_points @assert fixed_points ≈ trans(moving_points)