How do you project a non-linear line onto a circular shape?

Flow along curve