3.8. MyPaint Brush

شكل 14.78. MyPaint Brush Tool

MyPaint Brush Tool

MyPaint is a free painting program that comes with a lot of brushes. Libmypaint has been modified in 2016 in a form that can be used by other programs. GIMP 2.10 can use these brushes.

You can find many collections of MyPaint brushes throughout the Web, in a compressed format, often in a .zip file. Unzip this file into a temp folder.

3.8.1. Installing MyPaint Brushes

First go to PreferencesFoldersMyPaint Brushes. There, you will find the path to your personal Mypaint folder.

  • Under Linux: /home/YourUserName/.mypaint/brushes. Take good note it is a hidden directory.

    Open your file browser. Check the option Show hidden files. Go to your personal MyPaint folder. If it does not exist yet, you have to create it, with the brushes directory inside.

    Copy-paste all the unzipped files from your temp folder to home/YourUserName/.mypaint/brushes.

  • Under Windows 10: C:\Users\your-user-name\.mypaint\brushes. Click on this item to select it and click on the icon that opens a file browser. In the root of your home folder, create a new folder "mypaint". The MyPaint path in Preferences becomes C:\Users\your-user-name\mypaint.

    Copy-paste all the unzipped files from your temp folder to C:\Users\your-user-name\mypaint.

Activate the tool as below: you should have got a MyPaint brush icon in the tool options dialog. Click on this icon to display all MyPaint brushes.

3.8.2.  Activating the Tool

There are different possibilities to activate the tool:

  • From the image-menu: ToolsPaint ToolsMyPaint Brush,

  • The Tool can also be called by clicking the tool icon:

  • or by clicking on the Y keyboard shortcut.

3.8.3. Options

شكل 14.79. MyPaint Brush Tool Options

MyPaint Brush Tool Options

The available tool options can be accessed by double clicking the Mypaint brush tool icon.

Options may act somewhat differently according to the MyPaint brush you use.

Opacity

To set the opacity of the brush (0.0 - 100.0). Opacity depends on a base: please see below.

Smooth stroke

If this option is checked, strokes are smoother. Two options are available:

  • Quality: Depth of smoothing.

  • Weight: Gravity of the pen.

Brush

The icon of the active brush is displayed. If you click on it, the MyPaint brushes list is displayed and you can select another brush

شكل 14.80. A collection of MyPaint brushes

A collection of MyPaint brushes

In the bottom bar of the dialog, you have buttons for smaller or larger icons, and view as list or as grid. The right most button opens the MyPaint Brushes Dialog.

Erase with this brush

If this option is checked, the brush acts as an eraser. As for the Eraser tool, erased areas are transparent if there is an alpha layer, have the background color if there is no alpha layer.

Radius

To set the radius of the brush.

Base opacity

These values (0.00 - 2.00) are multiplying factors: if, for example, you set this option to 0.50, the maximal opacity becomes 100 * 0.50 = 50, although it is still 100.0 in the Opacity option.

جدول 14.1. Base opacity example

Base Opacity

Opacity
100 50 25
1.00

=100

=50

=25

0.50

=50

=25

=12.5

2.00

=100

=100

=50


Base opacity can exceed 1.00 up to 2.00. Of course, opacity can not exceed 100. In the example, you can see that an opacity option above 50 (100 * 2.00 = 200) is actually an opacity at 100, and 25 * 200 = 50 is equivalent to 50 * 1.00 = 50. But this possibility is useful when your Mypaint brush has a default opacity less than 100.

Hardness

The harder the brush the sharper the brush. When you reduce hardness, the Mypaint brush may not act if the brush size is too small.

شكل 14.81. Hardness example

Hardness example

This MyPaint brush doesn't act when hardness is less than 0.70.