I want to reproduce the 'Warp transform' function specified 'Move pixels' in Gimp by using Python. I have debugged the code of Gimp and Gegl. I find the core code is in Gegl project named 'warp.cc' and they generated a displacement map there. But I can't find the algorithm or articles online interpreting how its method works. Can anyone post some resources about that function?
It's the 'Warp' tool in Gimp and it's like the 'Liquify' function in Photoshop, I just want to know some articles introducing the method of computing a displacement mapping from a stroke and how to arrange the pixels.