I have an image, and each pixel is unique color. What I want to do is warp the image as if it were a cloth on a flat surface (no crumples/folds) and the cursor is my hand. I want to be able to pinch a point on the cloth and move it. This makes it do that I don't stretch/contract any part of the image, just create folds/crumples. In the end, what I am looking for is the output having all unique pixels. Some will be lost because of folds on top of other parts of the image. And some parts (on the sides) will be transparent because some portion got folded moving the side away from edge.
Is there any software that can do this?
Thanks ( I have photoshop cs6 if that matters)