It is currently Thu Jun 27, 2024 1:12 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 20 posts ] 
Author Message
 Post subject: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Mon Jan 16, 2023 9:12 am  (#1) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
UPDATE: download plug-in Here

OK, I just had to share this. Just finished coding version 2.
Come on hand-scribbling.
Get it here: https://gimplearn.net/viewtopic.php?f=3 ... 123#p43123

Image

Image

Image

Adds some organic feel to lined-paths plug-in result
Image

_________________
TinT


Last edited by trandoductin on Thu Mar 09, 2023 12:07 am, edited 1 time in total.

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 Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Tue Jan 17, 2023 12:03 pm  (#2) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
Using what I learned from roughjs.com (the going over the same path multiple times with slight variations) to create hand-drawn look.
Image

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Tue Jan 17, 2023 2:18 pm  (#3) 
Offline
Global Moderator
User avatar

Joined: Oct 06, 2010
Posts: 4050
Pretty nifty!

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


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Tue Jan 17, 2023 6:09 pm  (#4) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
It's slow. I am looking for ways to speed it up.

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Wed Jan 18, 2023 12:29 am  (#5) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
okay i just did a test with a super long and complex path that took me over an hour now takes 94 seconds

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Wed Jan 18, 2023 12:30 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
Love this, what a great idea :clap Thank you for the plugin.

Gave it a first try:

Attachment:
textwobble3d01.jpg
textwobble3d01.jpg [ 130.58 KiB | Viewed 902 times ]


trandoductin wrote:
It's slow. I am looking for ways to speed it up.

If you tell the plugin users you are doing it, you could see if pdb.gimp_image_undo_disable(image) and pdb.gimp_image_undo_enable(image) deliver enough to warrant losing the undo history as paths update it a lot.


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Wed Jan 18, 2023 12:42 am  (#7) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
teapot wrote:
Love this, what a great idea :clap Thank you for the plugin.

Gave it a first try:

Attachment:
textwobble3d01.jpg


trandoductin wrote:
It's slow. I am looking for ways to speed it up.

If you tell the plugin users you are doing it, you could see if pdb.gimp_image_undo_disable(image) and pdb.gimp_image_undo_enable(image) deliver enough to warrant losing the undo history as paths update it a lot.


It's the way I was using pdb. calls instead of direct python class calls (learned from ofnuts).
And other minor optimization.
The latest version only takes 94 seconds on a complex path that took well over an hour.

Yeah i forgot about those methods, but the new version doesn't create anything until it's done so undo will only undo one step which is the whole path that is added

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Wed Jan 18, 2023 4:01 pm  (#8) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
Krikor said that what used to take minutes now runs in 2 seconds.
Since then I even tweaked it further to milk more so that what took 94 seconds now runs in 58

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Thu Jan 19, 2023 12:56 am  (#9) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
ImageImage
From this plug-in, which started as JS/HTML form.

So I shared some pieces on reddit and someone was wondering if I was using some kind'a Perlin Noise. I didn't know what Perlin Noise was. So I looked it up. And noticed that it's based on gradually changing values which are random.
So I played around with photo to use as noise.

Then thought what If I randomly drop pixels on a canvas and let them walk toward (or accelerate toward) their darkest neighboring pixel. And if more than 1 neighbor have the same darkness then switch back to random.

And after some more playing around I got this tool that you can use to generate abstract art that look like they were painted with intent behind each stroke.

These two above were done that way using the tool.

Here's the tool...I know it's not GIMP but I am fascinated by this: https://niemphat.site/drop-pixels.html

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Thu Jan 19, 2023 7:13 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
Definitely adds a organic like feel to it, Tran. Kudos. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Thu Jan 19, 2023 11:59 am  (#11) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
lylejk wrote:
Definitely adds a organic like feel to it, Tran. Kudos. :)

You should check it out now.

I just added the ability to simply program presets into a coding area.
And also when you manually pixel drop (by clicking on drawing canvas), it'll also generate a newline of code with the settings and add that line of code to the coding area, so that you can reuse it or change it to your liking just so it's friendlier.

So that means that you manually tweak a bunch of settings to create your abstract, then load another image and apply code and boom .... a whole different piece but generally with the same logics/feel based on your settings/code/instructions.

I love it now hehe (oh I am talking about the javacript/html pixel drop tool by the way, not the plug-in)

Image

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Thu Jan 19, 2023 12:31 pm  (#12) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
www.youtube.com Video from : www.youtube.com

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Thu Jan 19, 2023 11:39 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
OK, Tran. Used G'MIC's Stencil to create the outlines which I converted to selections and then paths. Used wobble on the paths and then stroked and set original on top set to darken for the colored lines. I then Morphologied (G'MIC) the strokes wider and some other things for the result. The plugin did crash, but still outputted the result by the way. Might be because I had to many paths. lol

:)

ref: https://townsquare.media/site/295/files ... 0&a=t&q=89


Attachments:
dc.jpg
dc.jpg [ 921.27 KiB | Viewed 758 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Fri Jan 20, 2023 6:46 am  (#14) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
How did it crash, if i crashed I don't think it would show the path because I only add the paths at the very when it's done.

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Fri Jan 20, 2023 10:10 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12531
It popped up the error right after posting the path, Tran; now sure why, but still worked. Been noticing stability issues with the latest GIMP (have 2.10.32) but believe the previous version of GIMP also did. Might just be either my PC or GIMP itself. Haven't really had much time to play of late (2 jobs et. al.) and even now, both my jobs demand more of my time. Still, I have to continue to feast before the ultimate famine hits (and I'm afraid that will be soon; hope I'm completely wrong). I'll try to post more and it was cool that I had some time to play and hopefully will be motivated enough to do so more often. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Fri Jan 20, 2023 10:41 am  (#16) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
That might just be a message saying how many seconds it took.

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Fri Jan 20, 2023 10:49 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Dec 09, 2018
Posts: 656
Nice work Lyle.

Don't know if this is the same thing or not as I'm using quite an old version of gimp but I get an error appear for the progress update at the very end unless I have the error console window open. It doesn't affect the path produced.

Thanks again for the great plugin Tim.

Attachment:
wobblesc.jpg
wobblesc.jpg [ 55.31 KiB | Viewed 731 times ]


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Wed Mar 08, 2023 8:56 pm  (#18) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
Does anyone still have this wobble3D plug-in?
I'd like to have it, please

_________________
TinT


Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Wed Mar 08, 2023 11:48 pm  (#19) 
Offline
GimpChat Member

Joined: Sep 23, 2016
Posts: 316
trandoductin wrote:
Does anyone still have this wobble3D plug-in?
I'd like to have it, please


Here it is.


Attachments:
Wobble3D.zip [3.52 KiB]
Downloaded 27 times
Top
 Post subject: Re: Path Wobble 3D AKA Hand-scribbling plug-in
PostPosted: Wed Mar 08, 2023 11:49 pm  (#20) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3995
Location: Canada
Blighty II wrote:
trandoductin wrote:
Does anyone still have this wobble3D plug-in?
I'd like to have it, please


Here it is.

Thank you.

_________________
TinT


Top
Post new topic Reply to topic  [ 20 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Scribbling

10

No new posts Attachment(s) Asian Hand Fan plugin

14

No new posts I need to remove a hand from a photo

3

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) Hand-draw your own border/frame

31



* Login  



Powered by phpBB3 © phpBB Group