I want to implement a warp feature in Python, similar to tools available in image editing software. This feature allows users to select a portion of an image and drag it to reshape it freely. A grid overlays the selected area, and adjustable anchor points along the edges enable precise manipulation of the shape. Control handles at the grid intersections can be clicked and dragged to further warp the image, allowing bending or twisting to achieve a desired custom shape. The warp tool should also support customization of the grid, adjusting its size and the number of control points to facilitate achieving specific contours or effects in the image.
This is what I managed to create now:
I’ve made my research but can’t manage to find anything on the subject as I’m not even sure how this feature is called, as “warp” might not be the correct name, so I would enjoy to receive only positive constructive comments that can add something.