title: Twirl and pinch effect to images, Image distortion algorithm
body: <p>Greetings, <br>
  Can anybody tells how can I give image distortion effect to images like pinch, twirl, bathroom, punch, cylinder etc .  Actually I am making a small image library for photo editing. <br>
  I tried Google it bit couldn't find much help.  <br> 
  If anybody can help or suggest me image distortion algorithm, I will be thankful. <br>
  Thank You!!</p>
  
  <p><img src="https://i.stack.imgur.com/cuZrn.jpg" alt="enter image description here"></p>