In normal world though, we are working in Cartesian coordiates so we need to add that conversion in. Other than that, it is the same function. Here is the output from my shader.
|The Lena image filtered with the twirl filter in GLSL.|
uniform sampler2D textureMap; //image