It is currently Tue Jul 23, 2024 4:19 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Create Paths Experimentation (don't know if a script exists already).
PostPosted: Sun Jul 10, 2016 2:46 pm  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
I don't know if a script for this exists or not, but i just did it just for fun.

create a path, name it "from"
duplicate the path, name it "to" and deform it however you like as long as the path has the same number of points (control points) as the first path("from" path).
Then run this python-fu plug-in (available under Image/Python-Fu/Create Paths between from and to...)
Attachment:
create_paths_between_two_paths.zip [1.57 KiB]
Downloaded 123 times

It'll do linear interpolation of the control points and create number of paths between these 2 "from" and "to" paths.

example
start with something like this
Image
and end up with something like this, at which point you can use these paths to draw stuff and animate them or anything.

Image

_________________
TinT


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: Create Paths Experimentation (don't know if a script exists alread
PostPosted: Sun Jul 10, 2016 3:13 pm  (#2) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
That seems much like the path-inbetweener-0.2.py by Ofnuts,
which does pretty much the same thing

Image

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Create Paths Experimentation (don't know if a script exists alread
PostPosted: Sun Jul 10, 2016 3:35 pm  (#3) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 4041
Location: Canada
well look at that..it already exists. :hehe

_________________
TinT


Top
 Post subject: Re: Create Paths Experimentation (don't know if a script exists alread
PostPosted: Sun Jul 10, 2016 3:42 pm  (#4) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13080
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
well look at that..it already exists. :hehe

Yes.
Ofnuts pretty much has any path related script or plugin on locked down,
with his Gimp Path Tools.

You can easily find his path tools by searching for,
Gimp Path Tools by Ofnuts.

_________________
Image
"A wise man learns more from a foolish question than a fool can learn from a wise answer"
Image


Top
 Post subject: Re: Create Paths Experimentation (don't know if a script exists alread
PostPosted: Mon Jul 11, 2016 11:44 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Dec 10, 2013
Posts: 1004
Just downloaded trandoductin and thank you for showing how to use the script. Thank you Wallace for advising about, Ofnuts plugin. I have plugins that I really don't know how to use so will play with both.

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) HN: Draw shape - Create paths draw shapes simultaneously and easily

31

No new posts Attachment(s) Create a red heart script

16

No new posts Can a python script use gimpfu, run from terminal, and create new img?

2

No new posts Find and fill paths if closed, convert closed paths to transparent

1

No new posts script to load text file and create text layer

6



* Login  



Powered by phpBB3 © phpBB Group