Custom Brush Cursor plugin

A plugin that lets the user set a custom image as the cursor when a brush tool is selected to emulate the visual cue of (drawing tablet) pens,better lead the eye and generally help with better cursor visibility.
Brush tools when the custom cursor is shown: Freehand Brush Tool,Multibrush Tool,Colorize Mask Tool.
The cursor’s image, opacity and size can be changed. New images can be added as well. Can flip an image if it’s oriented the other way.
A few images have been provided as a starting point. All of these images were downloaded from the net from various sources.

Current version was made for Krita 5.2.3.

Usage:
Download as ZIP then import into Krita or copy the files individually to Krita’s plugin folder.
Enable plugin.
Enjoy.

It SHOULD work under Linux but feedback would be appreciated either way.
If there are render issues change Krita’s renderer under
Display->Canvas Acceleration->Preferred Renderer from Auto(Direct3D via ANGLE) to OpenGL

Update:
ver. 1.1(2024.11.23) - Added support for crosshair like icons. Removed the “Flip” button
ver. 1.2(2025.02.21) - Added the ability to ROTATE the cursor with a slider ranging from 0-360 degrees.
ver. 1.3(2025.02.28) - Fixed various issues,now the cursor change should work correctly in every scenario without problems.
ver. 1.4(2025.04.27) - GUI is now more dynamic resulting in the plugin taking up less space.
Plugin now saves the settings and loads them automatically when the plugin is turned on.

32 Likes

Thank you, @TengriKhan.

1 Like

@CadillacRancher
The built-in cursor icons cannot be changed in any way: opacity,size,look. So this already is a limitation from my point of view. Also i just don’t like them and sometimes i lose sight of the cursor or make a mistake because they cover out the work area. So i made this plugin to make it more convenient to control the cursor icon and its appearance. It overall improved my experience when drawing.

5 Likes

A few weeks ago i was asking questinons on how to optain the old eraser tool icon because the current one is not as precise. Thank you for sharing this.

1 Like

This looked interesting to try and been having a little trouble. I thought I got it working where the plugin shows up with the other scripts but even when changing the display to opengl doesn’t seem to be active as the cursor. If I go to the tools tab it is not showing up.
would love some help to see if this changes my overall experience

Note: I am on a surface book 3 and have krita up to date if that matters ;w;"

@ArtsySock
Just to be clear,you followed the steps when importing the plugin?
Managing Python plugins — Krita Manual 5.2.0 documentation

1 Like

Hi ! Very fun addon. Pencil rendered in perspective :arrow_right:

3 Likes

Yes turns out I forgot to enable the docker. ;w;" oof my bad
This is quite fun to use and see visually thank you so much for sharing and making this plugin.

If you don’t mind me asking another question or two as far as customized pens and whatever is there a certain size to make the file or something to play around with?
As well as are you able to use animated gifs or similar? Like of I wanted it to wiggle or whatever?

@ArtsySock
Resolution is whatever you want it to be as with the slider you can scale it down or up however you want. Qt does not support animated gifs or any kind of animation for cursor as it uses a static pixmap as far as i understand the documentation.

1 Like

Sorry if this plugin its something similar to the Photoshop Brush cursor when they are display for some Brushes they have Tilt sensivity?


Source of the image from the adobe comunity: https://community.adobe.com/t5/photoshop-ecosystem-discussions/how-do-i-get-the-brush-tip-cursor-to-represent-the-brush-s-angle-and-size/td-p/8809129?profile.language=es

Is there a way to make cursor in center or the brush?

@THE_CULT_OF_BERSERK
Sorry for late reply.
I’m not sure i understand. I read through the Adobe thread.
This custom cursor (when activated) is displayed every time you use one of the following tools AND the cursor is over the canvas area:
Freehand Brush Tool,Multibrush Tool,Colorize Mask Tool.
It’s not just for brushes with Tilt sensitivity.

@Wojciej
Huh?Could you please further explain this.


Right now, the cursor image is at the left corner of the brush. I was wondering if it’s possible to move it to the center?

1 Like

:slight_smile: Hello @Wojciej and welcome to the forum!

Can it be that you are
a) using a Windows PC
&
b) do not even have installed the plugin this topic is about?
&
c) is it correct that you are using a tablet, if so which make and model?

Michelist

Yeah, im on windows, and i’m using the plugin.


Tablet is huion 950.

If so, then please go into the menu ‘‘Settings’’ → ‘‘Configure Krita’’ → ‘‘Tablet Settings’’ where have to select the option of the two following that is not selected, so ‘‘Windows 8+ Pointer Input (Windows Ink)’’ or ‘‘WinTab’’ (I guess you have to select this), then confirm that setting with the OK-Button in the lower right corner of that dialog and restart Krita.
Does that fix the centering?
By the way, if not, then you can change that back.

Michelist

Thanks for your comment i looked at my plugin and realised…Yeah,this was an oversight by me. Didn’t consider crosshair like icons to be used.
Updated the plugin.
Also the crosshair like image must fill up the whole as the plugin offsets by its height and width. So if there are empty spaces then you have to crop it to size before use.
Please re-download and test and see if it works properly now.
Thanks.

3 Likes

It works well, thank you very much for your effort :pray:

1 Like

Awesome,good to hear.

Hi,
I am using Krita 5.2.6 on Mac OS 0.15.5 Catalina.
Your Plugin installed O.K. but when I try to “Open image file…”
I get…

“Exception occured:[Error 13]Permission denied:/path to images…”

Any thoughts?