Gimp-Forum.net
Gradient to paintbrush - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Gradient to paintbrush (/Thread-Gradient-to-paintbrush)



Gradient to paintbrush - hendrikbez - 02-14-2022

I have a few gradient colors that I need to use in paintbrush.

Is it possible to do it


RE: Gradient to paintbrush - Ofnuts - 02-14-2022

Yes but it won't work.
  • Yes, because you just make a selection of  a thin slice of your gradient, and copy it to the clipboard, and then use the Clipboard brush (first in the list).
  • No, because things are not going to be pretty in curves. To paint with a brush, Gimp just repeatedly hammers regularly spaced copies of the brush. which is kept untouched, while curves would require one side of the brush to shrink and one side to expand. If the curves are much wider than the brush size, you can be lucky if you give your brush a butterfly shape, but it doesn't work too well in the general case.
Now, if you have a path, what you can do is stroke the path with progressively narrower lines, while using a color sampled form the gradient. Tedious if done by hand, but this is exactly what my ofn-gradient-along-path script does:

[attachment=7479]