This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dynamic tapered stroke for vector graphics [REQUEST]

Tags: None
(comma "," separated)
egart
Registered Member
Posts
26
Karma
0
  1. How to make that every stroke of a brush I make is tapered ?
  2. Is it possible to change the thickness of the taper effect ?

Like this :
Image

Last edited by egart on Sat May 04, 2019 5:30 pm, edited 2 times in total.
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS

Re: Dynamic tapered stroke

Sun Dec 03, 2017 10:16 am
Not possible currently. Krita's raster brush engine cannot do post-processing which is necessary if you want to taper the end of the stroke, and the vectorbased calligraphic tool needs an overhaul that was up for a stretchgoal last kickstarter, but people chose for python support and svg import/export.
egart
Registered Member
Posts
26
Karma
0

Re: Dynamic tapered stroke

Sun Dec 03, 2017 12:45 pm
TheraHedwig wrote:Not possible currently. Krita's raster brush engine cannot do post-processing which is necessary if you want to taper the end of the stroke, and the vectorbased calligraphic tool needs an overhaul that was up for a stretchgoal last kickstarter, but people chose for python support and svg import/export.


It it possible to do it with normal brushes ( not vector ones ) ?
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS

Re: Dynamic tapered stroke

Sun Dec 03, 2017 12:52 pm
egart wrote:
TheraHedwig wrote:Not possible currently. Krita's raster brush engine cannot do post-processing which is necessary if you want to taper the end of the stroke, and the vectorbased calligraphic tool needs an overhaul that was up for a stretchgoal last kickstarter, but people chose for python support and svg import/export.


It it possible to do it with normal brushes ( not vector ones ) ?

No, Krita's raster brush engine is not capable of post-processing which is necessary for this.
egart
Registered Member
Posts
26
Karma
0

Re: Dynamic tapered stroke

Sun Dec 03, 2017 1:37 pm
TheraHedwig wrote:
egart wrote:No, Krita's raster brush engine is not capable of post-processing which is necessary for this.



When will Krita have this feature ?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Dynamic tapered stroke

Sun Dec 03, 2017 2:37 pm
Features happen when someone codes it. Nobody I know is planning to work on this at the moment. You might have to do it yourself, or get someone to do it for you.
egart
Registered Member
Posts
26
Karma
0

Re: Dynamic tapered stroke

Sat May 04, 2019 5:27 pm
Would it be possible to add this dynamic tapered stroke to Krita's vector graphics toolset ?
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS
Technically, yes, practically you need to find someone to code it.
User avatar
Quiralta
Registered Member
Posts
301
Karma
5
OS
egart wrote:How to make that every stroke of a brush I make is tapered ?...

...It it possible to do it with normal brushes ( not vector ones ) ?...


I will going to think your questions in a totally different way (which may be wrong, and not what you asked) and understand it as if you want tapered strokes that are pre-set on the brush, as Wolthera and Boud explained, no post-procession can be done to any stroke, but you can have "tapered" shaped strokes in the "normal" brushes using the sensors of the presets (manipulated with the pen pressure or with time, speed, etc.).

This is just a note not only for the OP, but also for any one else new to Krita who reads this and may think you can't stroke with "pointy" edges at all in Krita's raster painting. :)


Self educated by a very bad teacher!
My Stuff
egart
Registered Member
Posts
26
Karma
0
Quiralta wrote:
egart wrote:How to make that every stroke of a brush I make is tapered ?...

...It it possible to do it with normal brushes ( not vector ones ) ?...


I will going to think your questions in a totally different way (which may be wrong, and not what you asked) and understand it as if you want tapered strokes that are pre-set on the brush, as Wolthera and Boud explained, no post-procession can be done to any stroke, but you can have "tapered" shaped strokes in the "normal" brushes using the sensors of the presets (manipulated with the pen pressure or with time, speed, etc.).

This is just a note not only for the OP, but also for any one else new to Krita who reads this and may think you can't stroke with "pointy" edges at all in Krita's raster painting. :)



I was thinking if one would add bezier path, one could adjust end vertices to be tapered in side bar toolset.


boudewijn wrote:Technically, yes, practically you need to find someone to code it.

Can some Krita developer code this?
egart
Registered Member
Posts
26
Karma
0
Quiralta wrote:...It it possible to do it with normal brushes ( not vector ones ) ?...

I will going to think your questions in a totally different way (which may be wrong, and not what you asked) and understand it as if you want tapered strokes that are pre-set on the brush, as Wolthera and Boud explained, no post-procession can be done to any stroke, but you can have "tapered" shaped strokes in the "normal" brushes using the sensors of the presets (manipulated with the pen pressure or with time, speed, etc.).

This is just a note not only for the OP, but also for any one else new to Krita who reads this and may think you can't stroke with "pointy" edges at all in Krita's raster painting. :)



I was thinking if one would add bezier path, one could adjust end vertices to be tapered in side bar toolset and with the shortcut.


boudewijn wrote:Technically, yes, practically you need to find someone to code it.

Can some Krita developer code this?[/quote]
User avatar
Quiralta
Registered Member
Posts
301
Karma
5
OS
egart wrote:I was thinking if one would add bezier path, one could adjust end vertices to be tapered in side bar toolset.


Do you still talking about vectors? I think your best bet is to keep using Inkscape for it then just copy/paste them in Krita for raster editing. Krita's vector is still very basic.

If by bezier you mean the assistant tool, you can control the raster stroke from the preset sensors (in the preset editor, even shows you at the top how the stroke would look like), here is a stroke of mine using the assistant tool and applying different pressure on my pen.

I also would suggest to let us know what kind of artwork you want to accomplish, thus would be easy to suggest workarounds to the issue. :)



Self educated by a very bad teacher!
My Stuff
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS
egart wrote:I was thinking if one would add bezier path, one could adjust end vertices to be tapered in side bar toolset and with the shortcut.


boudewijn wrote:Technically, yes, practically you need to find someone to code it.

Can some Krita developer code this?

I've tried working on this for a few months, and then had to throw away all my code because I couldn't figure it out and the branch became too hard to update. This will probably need someone who has more experience than I do. The last time we put this up for a kickstarter stretchgoal, the goal was set at 4500 euro for a reason: it really isn't that easy to do.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]