How to transform a 2d picture into a 3D rotating figure. something like this(in the link below)

Are you looking for something like this?

In any event, it’s not possible to turn a single 2D picture into a full-fledged 3D scene like the linked demo.

I’m just trying to figure out how they make this possible(