Automatic object deformation based on a given shape
Greetings, community!
I have an interesting question: Is it possible to automatically (via a script) deform a specific raster object according to a prepared shape?
Let me explain:
1. We have a reference shape, “Black Shape 1.”

2. We also have a shape that needs to be distorted, “Blue Circle 2” (raster).
3. The goal is for “Circle 2” to somehow transform into the shape of “Black Shape 1.”
4. As an example (image 3), I’ve illustrated the manual distortion process using Puppet Warp. 🙂
The question is: Is this theoretically possible? It doesn’t necessarily have to use Puppet Warp—it’s just an example here.
The workflow involves raster images of various types of clothing that need to match specific templates, with the shapes being roughly consistent.
This doesn’t have to be the final solution—just a way to speed up the process of aligning clothing with the template.
Have you perhaps seen something similar in other threads?
I’m exploring various ways to speed up the workflow, so please don’t judge me harshly for crazy ideas. 🙂
