I have an object that I want to "twist". Like, for instance, the first photo
[![Several objects after each other][1]][1]


I want to do the same with this picture.
[![Single object][2]][2]


  [1]: https://i.sstatic.net/yV33N.jpg
  [2]: https://i.sstatic.net/OVYQh.jpg

I use both Inkscape and Photoshop.