It is currently Tue Aug 11, 2026 9:10 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 17 posts ] 
Author Message
 Post subject: GEGL Grains of Sand Text.
PostPosted: Fri Jun 10, 2022 7:47 pm  (#1) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
GEGL is back on the offense with a grains of sand text styling filter.
https://github.com/LinuxBeaver/GEGL_Grains_of_Sand/
Image
Image


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: GEGL Grains of Sand Text.
PostPosted: Fri Jun 10, 2022 9:20 pm  (#2) 
I want to know where you found the light blue color sand in this world. :hehe
If your going to give that title you should make it the color of the sand #C2B280
Image


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Fri Jun 10, 2022 10:03 pm  (#3) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 859
Location: SEA - South East Asia
Great job!

Image

If I may :oops:
You call it "Grains of Sand", I was searching for "Sand" (it's by alphabetical order in the GEGL list), if a long list... ;) .
Suggestion... may be call it "Sand Salt Sugar" as those effects are similar ;)

Image

Requests:
- is it possible to add the size of the grains? because salt sugar sand do not have the same size of grains
- being able to reduce the "Horizontal spread 2" and the "vertical spread 2" below 100, something like 50 or even below?

_________________
Patrice


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Fri Jun 10, 2022 10:18 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
I don't think it is possible to make the grains larger unless I use a median blur. But it look like grains then. I will think about changing the name.


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Fri Jun 10, 2022 10:19 pm  (#5) 
With this values this is what I come up in GEGL
First text
gegl:color-overlay value=rgb(0.134,0.123,0.090)
gegl:cubism
gegl:noise-spread amount-x=15 amount-y=15 seed=60
gegl:noise-spread amount-x=30 amount-y=30 seed=60

Duplicated Text
Apply twice
gegl:cubism
gegl:noise-spread amount-x=15 amount-y=15 seed=60
gegl:noise-spread amount-x=180 amount-y=180 seed=60

Change the Layer's mode to Screen on the layer dialog


Image


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Fri Jun 10, 2022 10:22 pm  (#6) 
Did you study my plugin and came up with this? Uhmm :hoh


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Fri Jun 10, 2022 11:03 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 859
Location: SEA - South East Asia
contrast_ wrote:
I don't think it is possible to make the grains larger unless I use a median blur. But it look like grains then. I will think about changing the name.

Thinner... I was thinking the grain thinner, like @Pocholo did above (that grain's size is exactly what I was thinking @Pocholo :bigthup )

_________________
Patrice


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sat Jun 11, 2022 12:23 am  (#8) 
The Text contour is too obvious, it need to be more grainy for better effect. Just a thought. :)


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sat Jun 11, 2022 2:03 am  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 859
Location: SEA - South East Asia
Pocholo wrote:
The Text contour is too obvious, it need to be more grainy for better effect. Just a thought. :)


I mitigated it with horizontal spread 1 / vertical spread 1, max is 60, though, the spread up to 100 or 150 would be a plus+ ;)

Image

_________________
Patrice


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sat Jun 11, 2022 8:01 am  (#10) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Remember to save the presets for future use.

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


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sat Jun 11, 2022 8:38 am  (#11) 
Nice work in the setting, PixLab. :clap But like you said, somehow the grain still too thick for sand or even salt/sugar..


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sat Jun 11, 2022 10:10 am  (#12) 
I found out that lowering the Tile size value will make the grain thinner. Manage to open the sand.c and reduce the Tilesize value range to> 0.8 and Tilesize2 value range to> 1.0. it sure make the different.
Image

Image


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sun Jun 12, 2022 8:46 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Pocholo wrote:
I found out that lowering the Tile size value will make the grain thinner. Manage to open the sand.c and reduce the Tilesize value range to> 0.8 and Tilesize2 value range to> 1.0. it sure make the different.
[ Image ]

[ Image ]


I'm giving these settings a shot. And oops, I forgot to change the value range. :gaah

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


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sun Jun 12, 2022 9:11 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
So, naturally, I'm curious as to the different colors of sand, because I knew there were many. So I come across this website Sand Atlas and sure enough there are plenty of sand images to pick colors from. Not that we have to be that specific, but at least it will provide relief to many that sand can pretty much be ANY color they want it to be.

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


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sun Jun 12, 2022 9:22 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Oct 06, 2010
Posts: 4050
Contrast, I'm starting to see where "Writing in the sand" would likely interest a lot of people when using this plugin. So, I'm testing various ways to achieve this using this GEGL plugin using Racer-X's technique.

viewtopic.php?f=10&t=19477&hilit=writing+in+sand#p265812

Image

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


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Sun Jun 12, 2022 9:07 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: May 24, 2021
Posts: 859
Location: SEA - South East Asia
Pocholo wrote:
I found out that lowering the Tile size value will make the grain thinner. Manage to open the sand.c and reduce the Tilesize value range to> 0.8 and Tilesize2 value range to> 1.0. it sure make the different.


Cool, it would be nice if the @contrast_ could give us the possibility to lower the the two "Tiles" in the .so at 0.5
Nice found @Pocholo :clap

_________________
Patrice


Top
 Post subject: Re: GEGL Grains of Sand Text.
PostPosted: Mon Dec 09, 2024 11:56 pm  (#17) 
Offline
GimpChat Member
User avatar

Joined: Oct 31, 2020
Posts: 2013
This plugin updated with the ability to move the sliders vertical and horizonal spread below 100, to allow the grainy text to be much closer to the text.

Attachment:
2024-12-09_23-55.png
2024-12-09_23-55.png [ 797.1 KiB | Viewed 2681 times ]


Download here
https://github.com/LinuxBeaver/GEGL-GIM ... ns_of_sand


Top
Post new topic Reply to topic  [ 17 posts ] 

All times are UTC - 5 hours [ DST ]



* Login  



Powered by phpBB3 © phpBB Group