I think I was able to make it
barycentric transform.blend (1.0 MB)
Regarding transferring UV to SDF mesh, can’t you just use Attribute transfer (Nearest Face Interpolated)? Isn’t it does the similar thing, finds closest point on triangle and does barycentric interpolation?