Are you trying to go 2D -> 3D, or 3D-> 2D? It isn’t clear what your input and your desired output is. Do you want to animate the “unwrapping” effect, or just display at the final result?
Your first example results in a t-shape – your second result is a mercator (or similar) projection. Which approach do you want?