It is currently Thu Mar 28, 2024 3:42 pm


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 11:03 am  (#1) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
What is an animated brush? An animated brush shows different views of the brush when you paint with it.

Press Ctrl + Shift + B to open the brush dialog window. Brushes that have a very small red triangle on the bottom right corner are animated brushes. To see one in action, find the Sparks brush. Put the mouse pointer over it and press and hold down the left mouse button. You can see the brush go through it's various views like an animation. If you do the same thing with a brush with a black + only you will not see any action. Close the Brushes dialog window by clicking the X in the upper right hand corner of the window.

All animated brush files have a .gih extension.

Image

Start with a new image, 300 x 300 and fill the Background layer with white. You can make your new image any size, but it must be square: Width = Height. Make a new transparent layer and name it shape#1.

Choose a dingbat from a font if you wish or make any shape. I chose to make my own shape using the paths tool and made a kind of funky star. Press the B key to select the Paths Tool. Click the left mouse button around to make the shape. When you have all the control points you want, hold down the Ctrl key and click in the first control point to close the path. You can move the control points around to improve your shape.

Image

Press the B key and your path control points will disappear.

Select > From Path. You will see your shape surrounded by marching ants. Fill the selection with the color of your choice.

Image

Select > Unselect.

You need to center your shape exactly. Layer > Autocrop Layer. You will see the layer boundary around your shape.

Click the Alignment tool and click within the layer boundary of your shape. You will see little black solid squares in each corner. Click the Center and Middle buttons in the Alignment Tool options to center your shape.

  1. Layer > Layer to Image Size.
  2. Duplicate your shape#1 layer to make shape#2.
  3. Layer > Transform > Rotate 90° clockwise.
  4. Duplicate shape#2 layer to make shape#3.
  5. Layer > Transform > Rotate 90° clockwise.
  6. Duplicate shape #3 layer to make shape#4.
  7. Layer > Transform > Rotate 90° clockwise.
  8. You now have 4 layers.
  9. Delete the white Background layer.

Then:

  • Edit > Copy Visible
  • Edit > Paste As > New Layer
  • You will have a fifth layer named Clipboard.
  • Make sure the Clipboard layer is selected.

    Image

  • Image > Autocrop.
  • Delete the Clipboard layer.

Now you are ready to save your layers as an animated brush.

File > Export. In the Name window, name your brush: funkystar.gih (choose your own name for your brush but be sure to put the gih extension on it). Browse to your /.gimp-2.6 / brushes folder and click the Save button.

Image

You will get the brush save dialog.

  • Spacing (percent) 100
  • Description: Name that will appear in the brushes dialog.
  • Cell size: Size of the cropped image. Automatic.
  • Number of cells: = Number of layers. Also automatic.
  • Ranks: Number of layers. Not automatic, you need to enter that value. The dropdown says Random. You can choose that or click the dropdown arrow and choose Incremental. Random makes your shape paint in random rotations; incremental makes it paint in the order of the layers.
  • Click the Save button.

    Image
  • Close the brush image.

You are finished.

Ctrl + Shift + B to open the Brushes dialog. Press the Refresh icon at the bottom. Your brush is installed and visible in your brushes options in the toolbox. Find the shape you made in the Brushes dialog and click and hold the left mouse button and you can see it in motion.

Close the brushes dialog.

You are ready to paint with your new brush.

Image

If you would like the brush I made with this tutorial you can download the attached file.

4/20/2015: File > Save As was changed to File > Export due to updates in GIMP.


Attachments:
funkystar.gih [517.82 KiB]
Downloaded 472 times

_________________
Image
World War IV will be fought with sticks and stones. - Albert Einstein
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: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 11:21 am  (#2) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
"O" :coolthup
That is a very nicely written tutorial. easy to follow.
BTW, I nabbed your brush too :clap

Here is mineImage

My brushes are added below if anyone wants to grab it....


Attachments:
musical_notes.gih [420.51 KiB]
Downloaded 580 times

_________________
Image


Last edited by molly on Mon Jun 07, 2010 12:04 pm, edited 1 time in total.
Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 11:45 am  (#3) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Thanks for trying my tutorial, Molly. I nabbed your notes and had a bit of fun with them.

Image

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


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 12:06 pm  (#4) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
very nice "O" love the font. very appropriate.....
:kbmusic

_________________
Image


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 3:27 pm  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
are you guys painting with a gradient and dragging the brush around, or stamping each figure and changing the color for each stamp?
*how do you make the brush take the foreground color, how do you make the brush paint in random sizes?


Last edited by 2-ton on Mon Jun 07, 2010 3:53 pm, edited 1 time in total.

Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 3:41 pm  (#6) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
I was painting with a gradient. I believe Molly was too.

This is an example of my original star using the color I filled it with when I made it. I used Random Size in the dynamics.

Image

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


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 3:54 pm  (#7) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
hee hee, I guess I edited new questions that you already answered!!! Still, I made a black star and it didn't change color when I changed the forground color.


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 4:02 pm  (#8) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
To properly take on the foreground color, your brush needs to be black and greyscale and each layer needs a white background.

If I remember correctly, in Gimp 2.4 there's a place to check Color in the brushes dialog and if you are lucky it will take on either the foreground or background color. Make the FG color different from the BG color so you can tell which one it is painting with then switch FG & BG colors if it isn't painting with the color you want.

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


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 4:08 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: Apr 08, 2010
Posts: 5420
Location: Northwest Ohio
I cannot make mine change size as I paint, :-( , can't find 'random size'. I see 'incremental' but it doesn't seem to affect my brush.


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Jun 07, 2010 4:21 pm  (#10) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
Your version of gimp doesn't have the random sizing. Dynamics were added in v2.6.

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


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Fri Oct 18, 2013 12:40 pm  (#11) 
Offline
GimpChat Member

Joined: Aug 27, 2010
Posts: 491
Image


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Sat Apr 18, 2015 6:25 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3535
Location: belgium
Image

Image


Attachments:
MUZIEK.xcf [2.83 MiB]
Downloaded 77 times
Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Apr 20, 2015 5:33 am  (#13) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3535
Location: belgium
in the zipped folder some brushes with musical notes
Image

Image


Attachments:
music notes.zip [61.09 KiB]
Downloaded 104 times
Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Apr 20, 2015 5:54 am  (#14) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3535
Location: belgium
Image


Attachments:
harmonica.xcf [846.74 KiB]
Downloaded 99 times
Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Apr 20, 2015 8:41 am  (#15) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3535
Location: belgium
I choose save as
I choose select filetype,but I can not found .gih


Image

Image

can someone help me


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Apr 20, 2015 9:56 am  (#16) 
Offline
Retired Staff
User avatar

Joined: May 22, 2008
Posts: 6947
Location: Somewhere in GIMP
You must choose File/Export. Then you can add the proper extension of .gih.

If you use Save As, it will automatically save as an .xcf file.

That was an update done in GIMP after the tutorial was written. I'll change the tut.

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


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Apr 20, 2015 11:21 am  (#17) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3535
Location: belgium
Image

oregonian & molly

thanks for the quick response
it works perfectly,now I can experiment with it


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Mon Apr 20, 2015 11:30 am  (#18) 
Offline
Global Moderator
User avatar

Joined: Apr 07, 2010
Posts: 14182
You are welcome.

_________________
Image


Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Tue Apr 21, 2015 2:53 am  (#19) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3535
Location: belgium
Image
every time you click comes another musical note
the brush gives four different notes

the brush is in the attachment


Attachments:
funkystar-02.gih [863.02 KiB]
Downloaded 96 times
Top
 Post subject: Re: Make an Animated Brush in GIMP
PostPosted: Tue Apr 21, 2015 5:01 am  (#20) 
Offline
GimpChat Member
User avatar

Joined: Apr 26, 2014
Posts: 3535
Location: belgium
Image

hold the left mouse button and slide on your worksheet
the new brushis in the attachment


Attachments:
instruments.gih [1.87 MiB]
Downloaded 116 times
Top
Post new topic Reply to topic  [ 30 posts ]  Go to page 1, 2  Next

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) Assignment: create an animated brush to make clock face.

9

No new posts Attachment(s) Make a brush - Make a mandala

297

No new posts Attachment(s) Animated brush

8

No new posts Attachment(s) Animated Stitch Brush

17

No new posts Attachment(s) Animated Chain Brush

16



* Login  



Powered by phpBB3 © phpBB Group