Easiest way to Define deform function for screen.

How to deform image

I want to change each pixel position using, for example, the next law:
xnew=500x/(1+x^2+y^2)
ynew=500
y/(1+x^2+y^2)

How to do it?
I am totally new at this, but I have to do it fast.
I need step-by-step solution.

Thanks!

================
Solved!

care to explain how you did it?

I post answer for anyone that comes here. Such things should be done by shaders as GPU is a lot faster to do this, either in material for single object or post processing for entire screen. You need get UV map (you use TextureCorridinate node, it is texture sampling position with 2 dimensional coordinates between 0.0 to 1.0, 0.0 being start of texture 1.0 end of texture on each axis) and then alter it whatever you like and then on texture plug in your custom UV map.

For post processing you use this: