So I've recently been looking at the Tiny Planet images.
I've been googling a few things to try and find out how images are converted from normal to a tiny planet. Some phone apps, as well as photoshop do this.
I think Photoshop does it by converting Cartesian coordinates to Polar coordinates. I found a good explanation of converting them here.
However, I am yet to find somewhere that describes an algorithm of the process.
Is there a set formula? or is it more complex than that?
I'm not sure if it's as easy as moving pixels and converting coordinates because I think some form of stretching must be included... hence, looking for an algorithm and this exchange as a resource. Thanks.


The article you have linked has "Stereographic Projection" in the title. Here is a link to the relevant part of the Wikipedia article. It is difficult to tell solely from looking at the images, but it seems as if the original photograph (which is a effectively a portion of a plane) is mapped to a hemisphere using a similar transformation. Then, in a second transformation, each point $(x,y,z)$ of the hemisphere is mapped to $(x,y,0)$ so that all of the points lie in a plane. It seems to me that this would create the desired effect.