GIMP Chat
http://gimpchat.com/

Turing-like pattern script
http://gimpchat.com/viewtopic.php?f=9&t=18505
Page 2 of 2

Author:  sallyanne [ Tue Jun 30, 2020 3:09 am ]
Post subject:  Re: Turing-like pattern script

Downloaded the script today and what mahvin posted I still cannot get this turing to work. I do add something to the background too.
I get these errors
Turing Pattern Warning
Error while executing script-fu-turing-pattern:

Error: ( : 1) eval: unbound variable: NORMAL-MODE Seems to be when create a new layer is checked


GIMP Warning
Plug-in 'Turing Pattern' left image undo in inconsistent state, closing open undo groups.

Turing Pattern Warning
Error while executing script-fu-turing-pattern:

Error: ( : 1) eval: unbound variable: GRAIN-EXTRACT-MODE seems to be when create a new layer is not checked


I also checked I have the gimp drawable feature - looks like that might be included with gimp anyway since it was created in 1997.

Had the different patterns of turing in another version of gimp but cannot remember which one.

Author:  holojello [ Tue Jun 30, 2020 6:54 am ]
Post subject:  Re: Turing-like pattern script

sallyanne wrote:
Downloaded the script today and what mahvin posted I still cannot get this turing to work. I do add something to the background too.
I get these errors
Turing Pattern Warning
Error while executing script-fu-turing-pattern:

Error: ( : 1) eval: unbound variable: NORMAL-MODE Seems to be when create a new layer is checked


GIMP Warning
Plug-in 'Turing Pattern' left image undo in inconsistent state, closing open undo groups.

Turing Pattern Warning
Error while executing script-fu-turing-pattern:

Error: ( : 1) eval: unbound variable: GRAIN-EXTRACT-MODE seems to be when create a new layer is not checked


I also checked I have the gimp drawable feature - looks like that might be included with gimp anyway since it was created in 1997.

Had the different patterns of turing in another version of gimp but cannot remember which one.


Konstantin wrote:
May i suggest, adding the High Pass filter code to your Turing script ?!


As a possible solution to both sallyanne's and konstantin's problem, please find here-attached a standalone version of the turing pattern script, where the high-pass filter function has been embedded, and I replaced every enums (such as NORMAL-MODE or GRAIN-EXTRACT-MODE) by their integer counterpart. It works fine on my computer; I hope it will work on yours too. It is however strange that those enums are missing; what version of GIMP are you running?

Attachments:
turing-pattern-gimpchat.scm [9.59 KiB]
Downloaded 133 times

Author:  Pocholo [ Tue Jun 30, 2020 7:29 am ]
Post subject:  Re: Turing-like pattern script

If you don't have GIMP 2.10.20 it will give you the constant errors. This was fixed in the new version. What GIMP version you have sallyanne?

Author:  Konstantin [ Tue Jun 30, 2020 7:39 am ]
Post subject:  Re: Turing-like pattern script

The turing-pattern-gimpchat.scm works for me without any errors.
Nice !

Author:  sallyanne [ Tue Jun 30, 2020 8:15 am ]
Post subject:  Re: Turing-like pattern script

Pocholo wrote:
If you don't have GIMP 2.10.20 it will give you the constant errors. This was fixed in the new version. What GIMP version you have sallyanne?

I have 2.10.20 Windows 64 bit

Stand alone works!
Image

Author:  nelo [ Tue Jun 30, 2020 10:23 am ]
Post subject:  Re: Turing-like pattern script

Quote:
Error: ( : 1) eval: unbound variable: NORMAL-MODE
Error: ( : 1) eval: unbound variable: GRAIN-EXTRACT-MODE


Those are names from GIMP 2.8.
LAYER-MODE-NORMAL-LEGACY and
LAYER-MODE-GRAIN-EXTRACT-LEGACY and so on should be used for GIMP 2.10
Proper Names can be retrieved from the pdb database via help > procedure browser

Author:  MareroQ [ Thu Jul 02, 2020 8:53 am ]
Post subject:  Re: Turing-like pattern script

I like the first version more because of the pattern applied to the image.
It's a bit strange what the author says - but versjon 1.2 it works for me even on a completely white background (gimp-2.10.20).

Attachments:
sample_cat.png
sample_cat.png [ 764.9 KiB | Viewed 2686 times ]

Author:  Qruqs [ Sun Jul 12, 2020 6:49 pm ]
Post subject:  Re: Turing-like pattern script

There is a filter in G'MIC called Stencil (unless they removed/renamed it in later versions, mine is OLD), somewhere under Patterns. It produces very similar effects.
I've always wondered what it was for, well, now I know. :)

Author:  Kimba [ Wed Jul 15, 2020 10:47 pm ]
Post subject:  Re: Turing-like pattern script

mahvin wrote:
holojello wrote:
I upgraded to the latest version of GIMP (2.10.20), and the script still runs fine whatever the input parameters on my computer. I also confirm that the high-pass script sent by Mahvin is perfectly identical to the one I use.

Mahvin, Pocholo, based on the video you sent, I think I understand the issue; you call the script from a totally white layer don't you? (is it what you do also, Mahvin?). Try to fill the layer with something (for example, solid noise, or even just that good old green pepper brush). Indeed, Turing patterns emerge from the fact that some matter (= pixels with non-zero value (ie non-white)) diffuses and reacts inside a medium (= the canvas), but if there is no matter in the first place, no pattern can be formed.


Amazing! Using certain pattern fills creates some very unique and bizarre Turing patterns.


I will have to try different pattern fills. I thought at first it was just doing the same pattern no matter what I had under it but the patterns were different but subtle. I love Turing patterns. I am using gimp 2.10.12.

Author:  rodgersnigel [ Wed Sep 02, 2020 2:19 am ]
Post subject:  Re: Turing-like pattern script

:tyspin Thank you so much! The Turing Pattern script works like a charm!

I uploaded my first render to imgur. I'm new and don't know how to post pictures here imgur: /a/ObMkb2E

Author:  Erisian [ Wed Sep 02, 2020 7:09 am ]
Post subject:  Re: Turing-like pattern script

rodgersnigel wrote:
:tyspin Thank you so much! The Turing Pattern script works like a charm!

I uploaded my first render to imgur. I'm new and don't know how to post pictures here imgur: /a/ObMkb2E

If you open the full editor, to the right of the yellow speech bubble at the top is a button that enables you to upload a file. You can use that to upload images.

Author:  sallyanne [ Thu Sep 03, 2020 1:31 am ]
Post subject:  Re: Turing-like pattern script

Erisian wrote:
rodgersnigel wrote:
:tyspin Thank you so much! The Turing Pattern script works like a charm!

I uploaded my first render to imgur. I'm new and don't know how to post pictures here imgur: /a/ObMkb2E

If you open the full editor, to the right of the yellow speech bubble at the top is a button that enables you to upload a file. You can use that to upload images.


You can do exactly as Erisian said after you have made 5 posts. You may be able to upload a picture as an attachment (at the bottom of the comment box)

Page 2 of 2 All times are UTC - 5 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/