It is currently Fri Mar 29, 2024 4:31 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: 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: 4726
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 2265 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: 4726
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: 4726
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: 4726
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 2097 times ]


Using these Ink options:

Attachment:
OrganicWithLadder-InkOptions.png
OrganicWithLadder-InkOptions.png [ 53.52 KiB | Viewed 2096 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: 4384
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: 4384
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 subject: Re: Path-ladder
PostPosted: Tue Nov 08, 2016 9:25 am  (#21) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4039
ofnuts wrote:
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


Enjoy.


It would be most interesting to see many of these organic renderings in animation form. I see HUGE potential from this.

_________________
"In order to attain the impossible, one must attempt the absurd."
~ Miguel de Cervantes


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