It is currently Sat Sep 12, 2026 7:58 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 48 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Sun Jul 26, 2015 1:37 pm  (#21) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14203
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
AnMal wrote:
wallace:
:rofl
is it just the shirt he's taking a risk with, you mean?!
ties are a nuisance, and i guess bow ties would be even harder.
how about a bolo with a pewter paisley clasp?
that certainly would complete the outrageous, risk taking look :hehe

:hehe
I was into Bolo Ties when I was a child. :mrgreen:
Image

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


Last edited by Wallace on Mon Jul 27, 2015 1:38 pm, edited 1 time in total.

Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Sun Jul 26, 2015 3:52 pm  (#22) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
Here is a G'MIC preset to help automate the process described in AnMal's first tutorial, above.

This preset does NOT do the first step (generating an image using a conical gradient or some other means) nor does it do the last major step, the Whirl and Pinch (which is a Gimp plug-in).
But it does do the 5 steps in between, ie.
- Cartesian Transform
- Kaleidoscope
- Offset x/2,y/2
- Kaleidoscope (transparent) and merge
- Offset x/3, 2y/3

At each step, the parameters default to the same as used in AnMal's tutorial, but you can tweak those values to get a better result.
Also, each step has an "Enable" checkbox so that you can selectively disable steps or just turn them on progressively to check how the pattern develops.

Installation

To use this preset, do Select-All on the code-box below, then copy and paste the text into your personal gmic file:
On Linux: ~/.gmic
On Windows: C:\Users\user\AppData\Roaming\gmic
(Note that the filename begins with a dot on linux, but not on Windows!)
You will need a plain-text editor such as gedit (on linux) or notepad (on Windows) to edit the gmic file.

#@gimp <b>Testing</b>
#@gimp <i>AnMal</i>

#@gimp AnMal Pattern 1 : gimp_AnMal_pattern1, gimp_AnMal_pattern1(1)
#@gimp : note = note("<span foreground="blue"><u>Cartesian transform :</u></span>")
#@gimp : Enable = bool(1)
#@gimp : X-warping = text{"(w+h)/20 * cos(y*20/h)"}
#@gimp : Y-warping = text{"(w+h)/20 * sin(x*20/w)"}
#@gimp : Relative warping = bool(1)
#@gimp : Interpolation = choice(1,"Nearest neighbor","Linear")
#@gimp : Boundary = choice(1,"Black","Nearest","Repeat")
#@gimp : Sep = separator(), note = note{"<span foreground="blue"><u>First kaleidoscope :</u></span>"}
#@gimp : Enable = bool(1)
#@gimp : Iterations = int(12,1,32)
#@gimp : Angle = float(0,0,360)
#@gimp : Boundary = choice(1,"Transparent","Nearest","Repeat")
#@gimp : Symmetry sides = choice("Backward","Forward","Swap")
#@gimp : Sep = separator(), note = note{"<span foreground="blue"><u>First offset :</u></span>"}
#@gimp : Enable = bool(1)
#@gimp : X-offset (%) = float(50,0,100)
#@gimp : Y-offset (%) = float(50,0,100)
#@gimp : Sep = separator(), note = note{"<span foreground="blue"><u>Second kaleidoscope :</u></span>"}
#@gimp : Enable = bool(1)
#@gimp : Iterations = int(12,1,32)
#@gimp : Angle = float(0,0,360)
#@gimp : Boundary = choice(0,"Transparent","Nearest","Repeat")
#@gimp : Symmetry sides = choice("Backward","Forward","Swap")
#@gimp : Sep = separator(), note = note{"<span foreground="blue"><u>Second offset :</u></span>"}
#@gimp : Enable = bool(1)
#@gimp : X-offset (%) = float(33.33,0,100)
#@gimp : Y-offset (%) = float(66.67,0,100)
#@gimp : Sep = separator(), note = note("<small>Authors : <i>AnMal, Jon Tait</i>.   Latest update : <i>2015/07/26</i>.</small>")
#@gimp : Note = link("Description and support","http://gimpchat.com/viewtopic.php?f=23&t=12849")

gimp_AnMal_pattern1 :
-to_rgba[-1]
-if {$1} -gimp_custom_deformation[-1] "$2","$3",$4,$5,$6 -endif
-if {$7} -gimp_symmetrizoscope[-1] $8,$9,$10,$11 -endif
-if {$12} -shift[-1] $13%,$14%,0,0,2 -endif
-if {$15} --gimp_symmetrizoscope[-1] $16,$17,$18,$19 -compose_rgba[-1,-2] -endif
-if {$20} -shift[-1] $21%,$22%,0,0,2 -endif


If you do not currently have a personal gmic file, just download the file attached below, unzip and copy to the relevant folder. (On Windows, rename the file without the leading dot!)

Attachment:
File comment: Personal .gmic file including AnMal Pattern 1
.gmic.zip [873 Bytes]
Downloaded 197 times


Usage
The next time you invoke G'MIC you should find the new preset under "Testing> AnMal".
(It's called "AnMal Pattern 1" because the output is not actually paisley-ish - that will only happen when you run Gimp's Whirl-and-Pinch plugin on the output image.)
If you're going to be playing with this a lot, make it a "fave" so you don't have to keep scrolling down to Testing.

Note that you can start with any image, not just the conical gradient pattern described in AnMal's tutorial.
Run the new preset first with default settings (click Reset if necessary), then run Gimp's Whirl+Pinch on the result.
If you kinda like the result but think it could be better, ctrl-z twice to get back to the starting image, run the G'MIC preset again but this time tweak the parameters in the various steps and try again.


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Sun Jul 26, 2015 3:53 pm  (#23) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
Image

Starting image:
Image
(This image was made using white clouds brushes on a black background, then G'MIC Graphic Novel, G'MIC Dream Smoothing and Gimp ACE.)


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 1:50 pm  (#24) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
A few more:

Image Image Image

Image Image Image


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 5:54 pm  (#25) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 5042
Location: Sydney Australia
Jontait2 - thanks for the 'preset'; but this old guy cannot seem to get it to work and nothing shows up under GMIC>Testing>Anmal.

Steps I took were;
1. Download you 'personal' zip file
2. Unzipped the file and placed it in C:\Users\user\AppData\Roaming\gmic - just to be sure the last couple of statements were "-endif #@gimp <b>Testing</b>"
3. Copied the 'select all code' and pasted it via notepad directly below the last two statements above
4. Started GIMP & opened GMIC .... nothing under testing for Anmal.

Was that the correct way?

I normally keep all my GMIC files under 'user>user-name>gimp2.8>plug-ins'. Does that make any difference to your code?

_________________
Image

Respect should be offered freely but hard earned


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 6:18 pm  (#26) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
I don't know quite what you've done there, OMG, but you don't need to download the zip file AND copy/paste the code - it's one or the other!

If you don't currently have a gmic file in your personal profile (because you've never used locally-stored presets before, as most people haven't), just download the .zip file, unzip and copy it to the relevant folder. On Windows you will have to rename the file from ".gmic" to "gmic" (ie. without the leading dot), but that's all! No copy/pasting. Just re-start G'MIC and you should find the new preset in the filters tree.

The only people who will need to copy/paste the code from the code-box shown above are people who have previously used locally-stored presets and who do still have a gmic file in their personal profile (and I guess they should know what they're doing!).


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 6:33 pm  (#27) 
Offline
Global Moderator
User avatar

Joined: Oct 02, 2014
Posts: 5042
Location: Sydney Australia
Jontait2 - thanks, revised my approach as per your instructions but still nothing appears in GMIC>Testing.

Let me just make sure that when you say 'relevant folder' you mean copy the file to folder Roaming i.e under C:\Users\username\AppData\Roaming?

_________________
Image

Respect should be offered freely but hard earned


Last edited by oldmangrumpy on Mon Jul 27, 2015 6:42 pm, edited 1 time in total.

Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 6:40 pm  (#28) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Thanks for the preset jontait2. It's been a while since I added a preset this way, but it did work and it now shows up per your post. Still, can't seem to get a decent whirl/pinch result. Regardless, adding Mehdi's Kaleidoscope to the result (after whirl/pinch) gave this result. :)


Attachments:
anmal_jontait.jpg
anmal_jontait.jpg [ 726.05 KiB | Viewed 3552 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 7:44 pm  (#29) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
oldmangrumpy wrote:
Let me just make sure that when you say 'relevant folder' you mean copy the file to folder Roaming i.e under C:\Users\username\AppData\Roaming?

Yes, correct (as far as I know).
I'm a bit stumped, OMG - Lyle seems to have got it to work okay.


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 9:07 pm  (#30) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Just rename .gmic to gmic (I run GIMP in Win8.1) and then place it in the directory as you said (not the gmic directory; the one where you said) and do refresh. Done. If you can just automate the whole process; that would be cool then. Thanks again jontait2. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Mon Jul 27, 2015 10:41 pm  (#31) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
OK; figured out a few more things; then applied rotational C/L to that result. :)


Attachments:
Untitled.jpg
Untitled.jpg [ 1.06 MiB | Viewed 3663 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Tue Jul 28, 2015 10:08 am  (#32) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
jontait2 wrote:
Here is a G'MIC preset to help automate the process described in AnMal's first tutorial, above.


:tyspin this is so cool! i've never ever had a g'mic preset named after me before - and neither has erisian, so now i can hit him over the head with that whenever he gets too cheeky :hehe .

in any case, thank you, jontait. this preset can save me quite a bit of work (if i get it to work, i've never installed a g'mic preset before), very helpful of you. you got some really nice looking patterns there too, especially i liked the one based on the cloud brush image.

lylejk: wow, you're the king of paisleys now! :jumpclap that last one is really amazing. but does this mean your back in your old addiction again? :hehe

here's my contribuiton to the trendsetting done by members of this site lately. we might get into the next issue of vogue if we hurry...

Image

_________________


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Tue Jul 28, 2015 1:15 pm  (#33) 
Offline
Administrator
User avatar

Joined: Aug 10, 2012
Posts: 14203
Location: Native to NYC living in Arizona, Gimp 2.8 - 3.0, Win 11 PC.
AnMal wrote:
jontait2 wrote:
Here is a G'MIC preset to help automate the process described in AnMal's first tutorial, above.


:tyspin this is so cool! i've never ever had a g'mic preset named after me before - and neither has erisian, so now i can hit him over the head with that whenever he gets too cheeky :hehe .

in any case, thank you, jontait. this preset can save me quite a bit of work (if i get it to work, i've never installed a g'mic preset before), very helpful of you. you got some really nice looking patterns there too, especially i liked the one based on the cloud brush image.

lylejk: wow, you're the king of paisleys now! :jumpclap that last one is really amazing. but does this mean your back in your old addiction again? :hehe

here's my contribuiton to the trendsetting done by members of this site lately. we might get into the next issue of vogue if we hurry...

[ Image ]

Cool stuff. :mrgreen:

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


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Tue Jul 28, 2015 2:19 pm  (#34) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
jontait: i'm a bit of an idiot with these things, really, so i couldn't get that preset installed. i won't pester you for help, but i do wonder: i'm running the latest downloadable windows version of gimp and g'mic, but i'm running them from xp. could this be a reason it doesn't work? if so, i won't put down any more work on installing the preset.

_________________


Last edited by AnMal on Tue Jul 28, 2015 3:06 pm, edited 1 time in total.

Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Tue Jul 28, 2015 2:53 pm  (#35) 
Offline
Script Coder
User avatar

Joined: Dec 27, 2014
Posts: 508
Yes. that would be an issue! (I didn't realise anyone was still using XP).
I think on XP the relevant folder is:
C:\Documents and Settings\<username>\Application Data\

NB. that folder is hidden by default, so if you are using the Windows Explorer to save the file, you may need to do:
Folder Options> View> Advanced settings> Hidden files and folders> Show hidden files and folders


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Tue Jul 28, 2015 3:01 pm  (#36) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
jontait: ah, that means i can give it another go, but i'm not getting my hopes up - plenty of ways i could mess this up :). thank you!
jontait2 wrote:
(I didn't realise anyone was still using XP).

i hate being reduced to an antiquated laptop and an antiquated windows version!!!!!!! next time i can afford a new laptop i'll install a linux system.

_________________


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Tue Jul 28, 2015 3:05 pm  (#37) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
Appreciate the feedback AnMal. :)

_________________
Lyle

Psalm 109:8

Image


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Wed Jul 29, 2015 12:06 pm  (#38) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
lylejk: you're welcome. so when will we see the endless field of whirl-and-pinch paisleys? you know that's what we all expect now!

_________________


Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Wed Jul 29, 2015 12:36 pm  (#39) 
Offline
GimpChat Member
User avatar

Joined: Sep 24, 2010
Posts: 12845
OK Anmal; included the actual tile too. Glad GIMP still works after my Win10 upgrade. lol

:)


Attachments:
paisly.jpg
paisly.jpg [ 369.54 KiB | Viewed 3586 times ]
cl_pers.jpg
cl_pers.jpg [ 1.34 MiB | Viewed 3586 times ]
rot_cl_pers.jpg
rot_cl_pers.jpg [ 1013.5 KiB | Viewed 3586 times ]

_________________
Lyle

Psalm 109:8

Image
Top
 Post subject: Re: "ancient paisley tutorial" - explanations and advice
PostPosted: Wed Jul 29, 2015 12:45 pm  (#40) 
Offline
GimpChat Member
User avatar

Joined: Aug 16, 2012
Posts: 4271
Location: Göteborg, Sweden
lylejk: :clap we're drowning in paisleys now - we got both the endless field and the maelstrom/whirlpool. nice job, brother.

_________________


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

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group