Switch to full style
Post all Gimp scripts and script writing questions here
Post a reply

Path Wobble 3D AKA Hand-scribbling plug-in

Mon Jan 16, 2023 9:12 am

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

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Tue Jan 17, 2023 12:03 pm

Using what I learned from roughjs.com (the going over the same path multiple times with slight variations) to create hand-drawn look.
Image

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Tue Jan 17, 2023 2:18 pm

Pretty nifty!

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Tue Jan 17, 2023 6:09 pm

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

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Wed Jan 18, 2023 12:29 am

okay i just did a test with a super long and complex path that took me over an hour now takes 94 seconds

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Wed Jan 18, 2023 12:30 am

Love this, what a great idea :clap Thank you for the plugin.

Gave it a first try:

textwobble3d01.jpg
textwobble3d01.jpg (130.58 KiB) Viewed 921 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.

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Wed Jan 18, 2023 12:42 am

teapot wrote:Love this, what a great idea :clap Thank you for the plugin.

Gave it a first try:

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

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Wed Jan 18, 2023 4:01 pm

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

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Thu Jan 19, 2023 12:56 am

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

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Thu Jan 19, 2023 7:13 am

Definitely adds a organic like feel to it, Tran. Kudos. :)

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Thu Jan 19, 2023 11:59 am

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

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Thu Jan 19, 2023 12:31 pm

www.youtube.com Video from : www.youtube.com

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Thu Jan 19, 2023 11:39 pm

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

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Fri Jan 20, 2023 6:46 am

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.

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Fri Jan 20, 2023 10:10 am

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. :)

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Fri Jan 20, 2023 10:41 am

That might just be a message saying how many seconds it took.

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Fri Jan 20, 2023 10:49 am

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.

wobblesc.jpg
wobblesc.jpg (55.31 KiB) Viewed 752 times

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Wed Mar 08, 2023 8:56 pm

Does anyone still have this wobble3D plug-in?
I'd like to have it, please

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Wed Mar 08, 2023 11:48 pm

trandoductin wrote:Does anyone still have this wobble3D plug-in?
I'd like to have it, please


Here it is.

Re: Path Wobble 3D AKA Hand-scribbling plug-in

Wed Mar 08, 2023 11:49 pm

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.
Post a reply