2D line transformation

hello,
Can anyone tell me how 2 do the line transformation like below…

“U” transform to “-” (curve transform to a straight line)

Thanks.

Wasn’t the oposite question posted a few days ago? Anyway, try learning NURBS and then change their control points. Should be pretty trivial.