Switch to full style
Ask all general Gimp related questions here
Post a reply

How can I transform like that with GIMP?

Tue Jun 08, 2021 9:01 am

GIMP Version: 2.8.14
Operating System: Windows
GIMP Experience: New User



I need to torsion ribbons like fusili pasta, tortileni pasta, torsades pasta, or like a wrapped candy...
I did not find a way to do it in GIMP, but I want to do it in GIMP :hehe (I tried everything in G'MIC and :bluesad nope... no can do)

Images below should be pretty explicit

Made with Krita's mesh tool
Image

Result
Image

None of the transform tools in GIMP does the job,

Image

and when I cross the 2 extreme points image just disappear and tab say "Invalid transform" (upper right corner)

Image

When I try with the "Curve Bend..."

Image

Result:

Image

Which is not what I want...

Any idea?
How can I do this kind of transformation like in Krita?
may be a plugin for that?

Re: How can I transform like that with GIMP?

Tue Jun 08, 2021 10:21 am

You have to use the "Path Tool".

www.youtube.com Video from : www.youtube.com

Re: How can I transform like that with GIMP?

Tue Jun 08, 2021 11:58 am

Maybe a starting point, but 3 paths and 2 renders using RobA's path blend RMA_path_blend.scm from http://www.silent9.com/incoming/scripts/

One render on top of the other. The fold in the middle is a problem.

pathblend.jpg
pathblend.jpg (66.19 KiB) Viewed 2596 times

Re: How can I transform like that with GIMP?

Tue Jun 08, 2021 3:20 pm

Another try:

Plugins ofn-path-inbetweener.py and ofn-stroke-fill-paths.py both from http://sourceforge.net/projects/gimp-pa ... s/scripts/

Make a lot of intermediate paths from a "crossing" pair
Use the stroke-fill-paths and stroke all the paths with a gradient.

ofn.jpg
ofn.jpg (92.25 KiB) Viewed 2554 times

Re: How can I transform like that with GIMP?

Tue Jun 08, 2021 10:38 pm

My very bad! I'm bad to explain :bluesad
I did draw quickly a gradient to show the torsion, but it's a picture I would like to torsion in GIMP (stretched pixel, scarf, isolated object like a road)
Something like those (it's three very quickly made examples)

Image

Image

Image

rich2005 wrote:Maybe a starting point, but 3 paths and 2 renders using RobA's path blend RMA_path_blend.scm from http://www.silent9.com/incoming/scripts/
One render on top of the other. The fold in the middle is a problem.


Indeed it's an excellent starting point!
It does not do what I actually need, but I can tell that I'll take a deep look into it as it surely is useful in a way or another

rich2005 wrote:Another try:
Plugins ofn-path-inbetweener.py and ofn-stroke-fill-paths.py both from http://sourceforge.net/projects/gimp-pa ... s/scripts/
Make a lot of intermediate paths from a "crossing" pair
Use the stroke-fill-paths and stroke all the paths with a gradient.


I did read that you do need the same number of nodes between the two paths before to generate the in between, Is it still mandatory?
The effect is nice, though, I like it!

In all cases Thanks a lot rich2005, your posts are very useful.
And again, sorry for my bad explanations
Post a reply