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


All times are UTC - 5 hours [ DST ]


Switch to mobile style

Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next
Author Message
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 7:31 pm  (#41) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1824
Pretty sure it could be done in gimp, but no idea how to code it. Probably just as easy to make a bunch of duplicate frames and start erasing one at a time in reverse.

The principal I used is the same as using a layer mask.


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 7:35 pm  (#42) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13001
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
racer-x wrote:
Pretty sure it could be done in gimp, but no idea how to code it. Probably just as easy to make a bunch of duplicate frames and start erasing one at a time in reverse.

The principal I used is the same as using a layer mask.

Right.
It's amazing how simple this concept is,
but how difficult it can be to reproduce in Gimp.

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


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 8:00 pm  (#43) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
It can be done in GIMP...
1) The current script just use the active brush to paint a bit of the path at a time
2) then makes a layer from visible as a new frame at each step.
I just have to add a drop shadow between 1) and 2) and delete the shadow after 2) and voila.
Let me go and do that right now.

UPDATE: please check version 3.
Image

_________________
TinT


Last edited by trandoductin on Wed Jun 05, 2019 8:34 pm, edited 1 time in total.

Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 8:32 pm  (#44) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13001
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
It can be done in GIMP...
1) The current script just use the active brush to paint a bit of the path at a time
2) then makes a layer from visible as a new frame at each step.
I just have to add a drop shadow between 1) and 2) and delete the shadow after 2) and voila.
Let me go and do that right now.

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: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 8:35 pm  (#45) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3975
Location: Canada
Please check version 3!

Image

_________________
TinT


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 8:38 pm  (#46) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13001
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
trandoductin wrote:
Please check version 3!

[ Image ]

Would I need to change the to "Normal Mode" with in the file,
to have it run in 2.8?

Edit

Never mind,
I already did it.

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


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 11:43 pm  (#47) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 644
That's so cool, thank you trandoductin :bigthup
Image


Last edited by teapot on Fri Jun 07, 2019 12:37 am, edited 3 times in total.

Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Wed Jun 05, 2019 11:47 pm  (#48) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 644
Nidhogg wrote:
drawing Goofy.
Exported the initial animation layers (Ofnuts ofn-export-layers.py: image{numUp1}.png naming to make sure they are in correct order)
Flattened the animation result, used path tool to create pencil zigzag over color area.
White layer above, merged down, changed foreground color and used the plug-in.
Last frame of each step (the work layer image can be also used) was changed to multiply mode and combined with next animation frames, using Saulgoode's combine/overlay script.

Love your shading, thank you for explaining how it's done, I've had a go.
Image


Last edited by teapot on Fri Jun 07, 2019 12:38 am, edited 1 time in total.

Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Thu Jun 06, 2019 4:40 am  (#49) 
Offline
GimpChat Member

Joined: Mar 04, 2011
Posts: 2418
Nidhogg wrote:
@rich yeah I knew the hershey in Inkscape.
Can you please upload the *buntu 18 version and instructions? ...snip...


@Nidhogg

The linux autotrace attached along with the inkscape centerline-trace extension (same as before).

There is a dependency, libpstoedit. Unzip the attachment, the permissions should already be set (but check anyway). From where that is, in a terminal copy autotrace to /usr/bin and install pstoedit which will pull in that dependency. Check that it works
sudo cp autotrace /usr/bin/
sudo apt install pstoedit
autotrace --version


Another video demo showing it working in Inkscape and how I might prepare for that Gimp animation script.

https://youtu.be/XJg3HM-i_PY duration 4 and a half minutes.


Attachments:
autotrace-lin-64bit.zip [391.9 KiB]
Downloaded 102 times

_________________
Image
Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Thu Jun 06, 2019 6:18 am  (#50) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Thank you so much for your help rich, you're the man :bigthup
Took a minute on MX Linux 18.3, works perfectly which means there won't be any problems on Xubuntu either.
There was one other dependency that had to be installed, python-pil.
If I remember correctly back with 0.48 on Windows that was the stumbling block for many people.


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Thu Jun 06, 2019 6:18 am  (#51) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1824
Thanks rich2005, I got it installed. I had to add a couple of more dependencies, it works now. Here is my first test, though I didn't re-arrange the path order like I should have. If nothing else, this will make a better mask for regular font text.

Attachment:
test.gif
test.gif [ 95.4 KiB | Viewed 2282 times ]


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Thu Jun 06, 2019 6:53 am  (#52) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Test run with a random b/w clipart image.

Image


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Thu Jun 06, 2019 6:59 am  (#53) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1824
I thought of that too Nidhogg, well done. I was right about center-line making a better mask...

Attachment:
text2.gif
text2.gif [ 218.95 KiB | Viewed 2273 times ]


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Thu Jun 06, 2019 9:04 am  (#54) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1824
Tested Center-Line Extract on a dragon drawing. This was a big one 455 frames. Surprised nothing crashed...

Attachment:
Dragon2.gif
Dragon2.gif [ 110.18 KiB | Viewed 2239 times ]


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Fri Jun 07, 2019 5:15 am  (#55) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1824
I do believe that Heresy Text in Inkscape yields the best outcome for this plugin. I think I'll stick with that option for these things.

Attachment:
racer.gif
racer.gif [ 66.04 KiB | Viewed 2239 times ]


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Fri Jun 07, 2019 1:50 pm  (#56) 
Offline
GimpChat Member
User avatar

Joined: Mar 12, 2016
Posts: 198
Location: Illinois, USA
Wallace wrote:
racer-x wrote:
According to this page, it will be integrated in version 1.0 of InkScape. I downloaded the alpha 1.0 version in an appimage, but it doesn't have it.

https://github.com/fablabnbg/inkscape-centerline-trace

The center-line tracing of a font can be done in Gimp.
Although it's only a tracing,
it works just fine for my needs.

Those "stick fonts" linked to by Nidhogg look promising.

Hi Wallace,
I can't seem to find in Gimp 2.10.10 what filter can do the center-line tracing of a font.
I've given up.
What is it ? :snap

_________________
Image


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Fri Jun 07, 2019 2:06 pm  (#57) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 13001
Location: Native to NYC living in Arizona, Gimp 2.8 & 2.10, Win 11 PC.
SeriousTom wrote:
Hi Wallace,
I can't seem to find in Gimp 2.10.10 what filter can do the center-line tracing of a font.
I've given up.
What is it ? :snap


Hello SeriousTom,

I guess I wasn't exactly clear,
about my mention of "center-line tracing".
As far as I'm aware,
there isn't a filter, script or plug-in for Gimp,
that will do the center-line tracing.

What I meant is,
that I do the tracing manually,
or by hand,
using the paths tool.

Sorry SeriousTom,
for any confusion I my have added to this.

:oops:

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


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Fri Jun 07, 2019 2:12 pm  (#58) 
Offline
GimpChat Member
User avatar

Joined: Mar 12, 2016
Posts: 198
Location: Illinois, USA
Thanks Wallace, no problem.

_________________
Image


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Fri Jun 07, 2019 4:42 pm  (#59) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1824
Not quite true, this plugin does Center-Line Tracing in Gimp: http://gimpchat.com/viewtopic.php?f=9&t=17485

I tested it, but not sure yet of it's abilities. Perhaps you may want to try?


Top
 Post subject: Re: Paint Paths in Steps plug-in
PostPosted: Sun Jun 09, 2019 9:13 pm  (#60) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 644
Used Ofnuts' ofn-path-inbetweener.py to make multiple lines.
Image


Top
Post new topic Reply to topic  [ 86 posts ]  Go to page Previous  1, 2, 3, 4, 5  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Paint Paths in Steps Plug-in version 4/5

42

No new posts Attachment(s) Who can change PS steps to Gimp

8

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

1

No new posts Attachment(s) Don't work procedures plug-in-bump-map, plug-in-displace

2

No new posts Attachment(s) 16-bit grayscale graylevels "65535 available tonal steps": where?

5



* Login  



Powered by phpBB3 © phpBB Group