It is currently Mon Apr 15, 2024 7:47 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Path-ladder
PostPosted: Mon Sep 16, 2013 6:44 pm  (#1) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
In the useless but fun department, here is path-ladder. Basically it creates ladder steps between two paths, with a ton of parameters that I'm too lazy to document right now, but you are intelligent people who love to experiment. Basically it works like its cousin path-inbetweener: in the path list, you right-click on a path and you look for the tools submenu... The first option is a second path.

Available at the usual water hole.

Two ladders on the same pair of golden spirals, just changing the sides: (left/right for one first, right/left for the other):

Attachment:
DoubleLadderOnGoldenSpirals2.png
DoubleLadderOnGoldenSpirals2.png [ 734.37 KiB | Viewed 5562 times ]


Enjoy.

_________________
Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: Path-ladder
PostPosted: Mon Sep 16, 2013 7:02 pm  (#2) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Looks cool; no time to play with it now but may experiment later. Thanks again ofnuts. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Path-ladder
PostPosted: Mon Sep 16, 2013 9:46 pm  (#3) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Hmm an interesting script thanks Ofnuts

Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Path-ladder
PostPosted: Mon Sep 16, 2013 10:58 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
ofnuts: nice stuff!! this definitely has to be tried.

_________________


Top
 Post subject: Re: Path-ladder
PostPosted: Tue Sep 17, 2013 3:03 am  (#5) 
:tyspin :bigthup ofnuts
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Tue Sep 17, 2013 4:40 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Mar 23, 2012
Posts: 7304
Location: Göteborg at last!
fluffybunny wrote:
:tyspin :bigthup ofnuts
Image


Rainbow DNA? Are you cloning hippies?


Top
 Post subject: Re: Path-ladder
PostPosted: Tue Sep 17, 2013 10:30 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Aug 30, 2012
Posts: 2174
Nice Script.

_________________
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Tue Sep 17, 2013 5:39 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12516
Finally had time to play with this one; of course, added my own flare to it. lol

Image

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 2:07 am  (#9) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
Nice. Looks very "organic".

_________________
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 11:17 am  (#10) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
Even more fun with a little additional script to iterate strategic parameters to create animations. Here it's just the bend factors for both paths that go from 0 to 100%:

Attachment:
LadderOutsideAnimation.gif
LadderOutsideAnimation.gif [ 248.43 KiB | Viewed 5307 times ]

_________________
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 12:20 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Sep 22, 2012
Posts: 2089
Location: US
Like the script, although, it hard to grasp the nuances.

straight paths yeild exactly what's expected

Image

adding subtle curve, and things go berserk

Image


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 2:54 pm  (#12) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
Interesting how this works. :)
Thank you ofnuts.

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 3:22 pm  (#13) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
K1TesseraEna wrote:
Like the script, although, it hard to grasp the nuances.

straight paths yeild exactly what's expected

[ Image ]

adding subtle curve, and things go berserk

[ Image ]


That's part of the fun :)

First, when you ask for N steps, the script determines N points along the two paths (the "stretch factor" determines how these points are spread). Then it creates a Bézier spline (blue curve) between the two corresponding points on the paths (solid green lines) that become the anchors of the curve.

Attachment:
PathLadder.png
PathLadder.png [ 9.35 KiB | Viewed 2304 times ]


The fun begins with the tangent handles. The "incidence" is the angle (in red) between the perpendicular to the path at the control point (dotted green line) and the line from the control point to the tangent handle (in yellow). The "bend factor" is the length of that yellow line, expressed as a percentage of the distance between the two control points. The longer the line, the longer the curve remains close to the incidence angle, so that leads to more bendy ladder steps. Likewise, if 0, there is no tangent handle, so if you use zero on both sides, you get straight lines. The two "sides" selectors control which tangent handle is used. When "explicit" the script uses the designated sides. When "shortest" it computes the handles on both sides of the each path, then computes the four distances for the four possible pair of handles (one form each path) and keeps the pair of handles that has the shortest distance (this normally leads to the shortest spline).

_________________
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 3:26 pm  (#14) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
Rod wrote:
Interesting how this works. :)
Thank you ofnuts.

[ Image ]


Looks like a girl's head :). Did you use Sides: shortest or Sides: explicit sides? If you used "explicit sides" I have a bug. Otherwise its a "feature" :)

_________________
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 4:12 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: May 16, 2010
Posts: 14709
Location: USA
ofnuts wrote:
Rod wrote:
Interesting how this works. :)
Thank you ofnuts.

[ Image ]


Looks like a girl's head :). Did you use Sides: shortest or Sides: explicit sides? If you used "explicit sides" I have a bug. Otherwise its a "feature" :)

Here are my settings.
Then i flipped the image vertical. :)

Image

Image

_________________
Image
Edmund Burke nailed it when he said, "The only thing necessary for the triumph of evil is for good men to do nothing."


Top
 Post subject: Re: Path-ladder
PostPosted: Wed Sep 18, 2013 4:53 pm  (#16) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
Relieved, that's only a feature...

_________________
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Sat Nov 08, 2014 1:39 pm  (#17) 
Offline
Script Coder
User avatar

Joined: Oct 25, 2010
Posts: 4734
Getting organic... I was looking at a tutorial for line art and the author was stroking paths with the Ink tool. Which lead me to experiment a bit:

Attachment:
OrganicWithLadder.png
OrganicWithLadder.png [ 55.66 KiB | Viewed 2136 times ]


Using these Ink options:

Attachment:
OrganicWithLadder-InkOptions.png
OrganicWithLadder-InkOptions.png [ 53.52 KiB | Viewed 2135 times ]

_________________
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Sat Nov 08, 2014 7:02 pm  (#18) 
Offline
GimpChat Member
User avatar

Joined: Mar 10, 2014
Posts: 845
using the filter
Image


Top
 Post subject: Re: Path-ladder
PostPosted: Mon Nov 10, 2014 1:26 am  (#19) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 4408
Location: Sydney Australia
As usual I had no idea what to expect as I was randomly playing with this script, just starting with a simple curved path and setting the parameters to see what turned out. Then I started randomly filling, stroking individual sets of paths to separate layers, just to see what they looked like. I needed to move some of the layers so I could see them better, and their shape just seemed so obvious; so I just duplicated and flipped them and they immediately flew off!

Image

Another good one Ofnuts - thank you; more experienced users than me might be able to predict their shape results but this was pure chance.

_________________
Image

Respect should be offered freely but hard earned


Top
 Post subject: Re: Path-ladder
PostPosted: Mon Nov 17, 2014 11:20 pm  (#20) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 4408
Location: Sydney Australia
Finished with surrealism/out of frame now and have gone back to where I left Ofnuts path-ladder script, stroking selected paths. I find one of the key facets of GIMP is its ability to pleasantly surprise when you do something completely by accident ...

Image

Image

... it is a very forgiving system!

_________________
Image

Respect should be offered freely but hard earned


Top
Post new topic Reply to topic  [ 21 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) i struggle with the option to copy the path - the path where a file i

3

No new posts Attachment(s) Path copy rotate shift plus + Path copy rotate shift walk Play

79

No new posts Attachment(s) Path

9

No new posts Attachment(s) Path animations

4

No new posts Attachment(s) view a path when it is imported

12



* Login  



Powered by phpBB3 © phpBB Group