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

Random fill with brush

Sat Nov 19, 2011 4:57 pm

density-brush-fill at http://gimp-tools.sourceforge.net/

Image

Re: Random fill with brush

Sat Nov 19, 2011 5:07 pm

Excellent plug-in, ofnuts, thank you. :)

It would be cool if you could use the density script in unison with brush dynamics.

Re: Random fill with brush

Sun Nov 20, 2011 12:20 am

Nice filter Ofnuts. :)
Thanks.

Is there a way to get this to work in Gip-2.7.4?
The reason i ask is because i have several scripts all python that will not show in the menus in Gimp-2.7 versions.

Re: Random fill with brush

Sun Nov 20, 2011 12:30 am

that's very interesting.......I noticed it doesn't work with animated brushes.

Re: Random fill with brush

Sun Nov 20, 2011 12:33 am

It worked with my animated text brush. :)

Re: Random fill with brush

Sun Nov 20, 2011 12:46 am

Same here. Worked with mine, too.

Re: Random fill with brush

Sun Nov 20, 2011 4:56 am

mahvin wrote:Excellent plug-in, ofnuts, thank you. :)

It would be cool if you could use the density script in unison with brush dynamics.
Yes, I wondered about that, but brush dynamics apply inside a brush stroke, and the script makes zero-length strokes...

Re: Random fill with brush

Sun Nov 20, 2011 5:08 am

Rod wrote:Nice filter Ofnuts. :)
Thanks.

Is there a way to get this to work in Gip-2.7.4?
The reason i ask is because i have several scripts all python that will not show in the menus in Gimp-2.7 versions.
It show ups in the menus of my 2.7. But I just found that it doesn't work property with the "generated" brushes (ie, "Round", "Roud fuzzy"...) because they lie about their actual size. Still works with plain bitmap and GIG brushes, though.

Re: Random fill with brush

Sun Nov 20, 2011 5:10 am

cecilia wrote:that's very interesting.......I noticed it doesn't work with animated brushes.
As said above since it uses zero-length strokes the brush dynamics don't apply. So if your animated brush uses dynamics other than random to produce a given shape, it won't apply.

Re: Random fill with brush

Sun Nov 20, 2011 7:54 am

RobA has a similar script-fu for filling in a pattern; slow but I like the result. Other then a no selection, if you use your python plugin, the perimeter of the selection get's chopped off brushs as all selection fills do. Wondering if you can do this plugin like RobAs; pythons much faster then Script-fu. Below for recent reference. :)

http://gimpchat.com/viewtopic.php?f=11&t=530

Re: Random fill with brush

Sun Nov 20, 2011 9:44 am

ofnuts wrote:It show ups in the menus of my 2.7. But I just found that it doesn't work property with the "generated" brushes (ie, "Round", "Roud fuzzy"...) because they lie about their actual size. Still works with plain bitmap and GIG brushes, though.
The circle fuzzy brush works in v2.6.11.

I like this plug-in. Was wondering if it would be possible to add use color from gradient?

Image

Re: Random fill with brush

Sun Nov 20, 2011 1:26 pm

Using color fromp gradient implies using brush dynamics, and so entails a completely different code to render the brush. I'll give it a try but no promises.

PS: works quite nicely with Draconian "Autumn Leaves" brush: viewtopic.php?f=12&t=2990&start=0

Re: Random fill with brush

Sun Nov 20, 2011 1:59 pm

ofnuts wrote:PS: works quite nicely with Draconian "Autumn Leaves" brush: viewtopic.php?f=12&t=2990&start=0
It certainly does.

Used this as the background: http://us.123rf.com/400wm/400/400/nikky ... l-fire.jpg

I used my flames brush on top of the leaves also. Attached below if anyone might want it.

Image

Re: Random fill with brush

Sun Nov 20, 2011 2:35 pm

I grabbed your brush O, thanks! :)

Ofnuts
It must be because i am using the portable Gimp-2.7?
Weird how it (the density script), doesn't show in my menus at all.

Re: Random fill with brush

Sun Nov 20, 2011 2:43 pm

nice brush to grab!

Re: Random fill with brush

Sun Nov 20, 2011 2:48 pm

Rod wrote:Weird how it doesn't show in my menus at all.
Are you talking about the flames brush, Rod? It's listed under F for flames.

Re: Random fill with brush

Sat Nov 26, 2011 7:28 am

lylejk wrote:RobA has a similar script-fu for filling in a pattern; slow but I like the result. Other then a no selection, if you use your python plugin, the perimeter of the selection get's chopped off brushs as all selection fills do. Wondering if you can do this plugin like RobAs; pythons much faster then Script-fu. Below for recent reference. :)

http://gimpchat.com/viewtopic.php?f=11&t=530

The difference is not Python vs Scheme because both scripts spend most of their time in Gimp's bowels. Rob's script could bracket the code in undo-freeze/thaw. At least that's what made mine run a lot faster.

Re: Random fill with brush

Sat Nov 26, 2011 7:47 am

Hy Ofnut where your other scripts are gone ?
on sourceforge i may see only 3 what happened to the others ?

Re: Random fill with brush

Sat Nov 26, 2011 9:16 am

PhotoComix wrote:Hy Ofnut where your other scripts are gone ?
on sourceforge i may see only 3 what happened to the others ?

I have two projects: http://gimp-path-tools.sourceforge.net/ and http://gimp-tools.sourceforge.net/ (plus wrapmap that has still got its own)

Re: Random fill with brush

Sat Nov 26, 2011 1:22 pm

Ahh..ok !
you may interlink your projects , i mean just a "Other Projects -brief description +links " block added at a side or at the bottom of your pages so when 1 is found also the others may be traced
Post a reply