download iExpressions at
https://aescripts.com/iexpressions/
In this tutorial you learn a cool effect to unfold any shapes into a straight line. The effect is based on an expression on the shape path that does all the work for you, so it is super easy to use and just requires two keyframes.