It is currently Fri Mar 29, 2024 2:59 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 57 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 6:56 am  (#21) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12566
Location: Spain, Aragón
Thanks steven, :)
Thank you Tin for your effort to improve your script more, tomorrow. :tyspin

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 10:21 am  (#22) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
You must have a selection selected. for this version of the script
okay it is available under Script-Fu/Create New/Random Font...
Attachment:
Random_Font.scm [3.36 KiB]
Downloaded 117 times


What the script does now is it turns visibility off for all your layers. It then creates many layers of characters then merge all visible layers which reduces this to one layer of text with some sticking out around the edges of selection. But then it inverts your selection cut away edges sticking out and then inverts your selection back to original selection. Then sets visibility back on for all your layers.

Image

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 12:36 pm  (#23) 
Offline
GimpChat Member
User avatar

Joined: Mar 01, 2014
Posts: 12566
Location: Spain, Aragón
Thank you Tin, it works wonderful. My first try. Thanks a lot. :tyspin :coolthup


Attachments:
Tin-Script-Issa.jpg
Tin-Script-Issa.jpg [ 101.45 KiB | Viewed 1358 times ]

_________________
Image

Gimp 2.10.30(samj) portable _ OS Windows 10 Home_ 64bits
Don’t be afraid to start over. It’s a new chance to rebuild what you want.
Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 12:41 pm  (#24) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Issabella wrote:
Thank you Tin, it works wonderful. My first try. Thanks a lot. :tyspin :coolthup

Very bubbly :mrgreen:

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 1:38 pm  (#25) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
This version has more options.
Image
Attachment:
Random_Font.scm [5.12 KiB]
Downloaded 123 times

DON'T FORGET TO HAVE A SELECTION. (or you'll get a warning message).
If you use custom colors (define color1 and color2) and you'll get a color-transitions from color1 to color2 instead of random colors.
Image

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 8:44 pm  (#26) 
Offline
Script Coder
User avatar

Joined: Feb 18, 2011
Posts: 4827
Location: Bendigo Vic. Australia
Trandoductin functions faultlessly a very handy script :jumpclap :bigthup
Image

_________________
Image
No matter how much you push the envelope, it'll still be stationery.


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 9:45 pm  (#27) 
Offline
GimpChat Member
User avatar

Joined: Dec 10, 2013
Posts: 1004
Excellent trandoductin - thank you.

Image

_________________
Image
Macbook Air - MacOS Sierra 10.12
McGimp 2.8.14
G'mic 1.6.5


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Mon Apr 25, 2016 10:27 pm  (#28) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Dalia wrote:
Excellent trandoductin - thank you.

[ Image ]

yours look like rainbow flavored ichiban :hehe

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Tue Apr 26, 2016 1:59 am  (#29) 
Offline
GimpChat Member

Joined: Dec 29, 2015
Posts: 223
Hello Mr. Tin,

I subsituted 'Urdu Alphabet' in the script but it returned erro: "Plug-In 'Random Font ' left image undo in inconsistent state, closing open undo groups."

Although it is not necessary for me to have script with the ability of my native language but if is easy and convenient then how can I do it?


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Tue Apr 26, 2016 10:52 am  (#30) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Rashid wrote:
Hello Mr. Tin,

I subsituted 'Urdu Alphabet' in the script but it returned erro: "Plug-In 'Random Font ' left image undo in inconsistent state, closing open undo groups."

Although it is not necessary for me to have script with the ability of my native language but if is easy and convenient then how can I do it?


Where did you try to change to 'Urdu Alphabet'? the Script's registered path? or where?
if you just want to change the name on your menu..you should change this line
"<Image>/Script-Fu/Create New/Random Font ..."    ;menu register

to
"<Image>/Script-Fu/Create New/Urdu Alphabet ..."    ;menu register

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Tue Apr 26, 2016 11:31 am  (#31) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Tin, what a fun script. Thanks!

Image

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Tue Apr 26, 2016 12:08 pm  (#32) 
Offline
GimpChat Member

Joined: Dec 29, 2015
Posts: 223
Menu location is not problem.

I want your script to write Urdu Alphabet instead of English. I have changed English Alphabet with Urdu Alphabet in the script but it returned error.

I have Urdu installed in Ubuntu along with English. I can switch between these two languages when needed. I also selected Urdu Font in the dialogue of your script but no result.


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Tue Apr 26, 2016 12:16 pm  (#33) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Rashid wrote:
Menu location is not problem.

I want your script to write Urdu Alphabet instead of English. I have changed English Alphabet with Urdu Alphabet in the script but it returned error.

I have Urdu installed in Ubuntu along with English. I can switch between these two languages when needed. I also selected Urdu Font in the dialogue of your script but no result.


I am not too sure but in my script I define the alphabet as
(alphabet '("a" "b" "c" "d" "e" "f" "g" "h" "i" "j" "k" "l" "m" "n" "o" "p" "q" "r" "s" "t" "u" "v" "w" "x" "y" "z" "A" "B" "C" "D" "E" "F" "G" "H" "I" "J" "K" "L" "M" "N" "O" "P" "Q" "R" "S" "T" "U" "V" "W" "X" "Y" "Z"))
       

Try changing that line to contain your alphabet
and also there's one more line that gets a random character from alphabet
because i have 52 characters in my alphabet
(set! text-layer (car (gimp-text-layer-new image (list-ref alphabet (rand 52))

try changing the number 52 to whatever number of characters you define for alphabet.
There's probably a dynamic way to do this, but i don't know how.

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Tue Apr 26, 2016 12:41 pm  (#34) 
Offline
GimpChat Member

Joined: Dec 29, 2015
Posts: 223
It worked superbly. Previously I was not able to understand the limit of alphabet i.e, 52. Now it is fine. For experiment I only added two initial alphabet and chnaged the 52 to 2. I also demanded only ten instances of alphabet.
Great.


Attachments:
Urdu Alphabet.png
Urdu Alphabet.png [ 7.1 KiB | Viewed 1146 times ]
Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Wed Apr 27, 2016 9:18 am  (#35) 
Offline
GimpChat Member

Joined: Dec 29, 2015
Posts: 223
Hello Mr. Tin,

Is it possible to have the option of Layers Merged or Separate in the Script ?In that way it would be possible to remove the overlapping of alphabet manually. Moreover, equal distance between the alphabet would produce a clean effect.

Thanks.


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Wed Apr 27, 2016 11:02 am  (#36) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 198
Another fun and addictive script :bigthup

Attachment:
19-40 Qu90.jpg
19-40 Qu90.jpg [ 302.25 KiB | Viewed 1126 times ]


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Wed Apr 27, 2016 11:28 am  (#37) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Steve wrote:
Another fun and addictive script :bigthup

Attachment:
19-40 Qu90.jpg

How? I don't think my script generates what you have created

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Wed Apr 27, 2016 11:30 am  (#38) 
Offline
Script Coder
User avatar

Joined: May 07, 2014
Posts: 3970
Location: Canada
Rashid wrote:
Hello Mr. Tin,

Is it possible to have the option of Layers Merged or Separate in the Script ?In that way it would be possible to remove the overlapping of alphabet manually. Moreover, equal distance between the alphabet would produce a clean effect.

Thanks.


Just use the first version of my script, it leaves layers without merging/cutting them.
Equal distance? That might be trickier for me that should be another script, this one was meant to create Randomness.

_________________
TinT


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Wed Apr 27, 2016 11:40 am  (#39) 
Offline
GimpChat Member
User avatar

Joined: Dec 26, 2014
Posts: 198
trandoductin wrote:
Steve wrote:
Another fun and addictive script :bigthup

Attachment:
19-40 Qu90.jpg

How? I don't think my script generates what you have created


I ran the very first script you posted which gave numerous random coloured characters, and then ran the result on a script I wrote to give stars a receding effect.

steve


Top
 Post subject: Re: Random Alphabet background generator.
PostPosted: Wed Apr 27, 2016 12:17 pm  (#40) 
Offline
GimpChat Member

Joined: Dec 29, 2015
Posts: 223
Your first script serves the purpose. Thanks.


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

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) background generator

2

No new posts Attachment(s) Links to my Alphabet

16

No new posts Really cool pattern generator site - FREE

8

No new posts Attachment(s) GEGL Polygons - Simple Polygon wallpaper generator

15

No new posts Attachment(s) [SOLVED] G'MIC as Pixel Intensity Calculator/Heightmap Generator???

14



* Login  



Powered by phpBB3 © phpBB Group